-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* PMM-8706: improve incompatible error * clarify errors
- Loading branch information
Showing
13 changed files
with
1,162 additions
and
295 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
|
||
package backup.v1beta1; | ||
|
||
option go_package = "api/managementpb/backup;backupv1beta1"; | ||
|
||
// ErrorCode is a set of specific errors that are not present in the standard set of errors | ||
// and returned in the details field of the response. | ||
enum ErrorCode { | ||
ERROR_CODE_INVALID = 0; | ||
// ERROR_CODE_XTRABACKUP_NOT_INSTALLED is returned if some xtrabackup component is missing. | ||
ERROR_CODE_XTRABACKUP_NOT_INSTALLED = 1; | ||
// ERROR_CODE_INVALID_XTRABACKUP is returned if xtrabackup components have different version. | ||
ERROR_CODE_INVALID_XTRABACKUP = 2; | ||
// ERROR_CODE_INCOMPATIBLE_XTRABACKUP is returned if xtrabackup is not compatible with the MySQL. | ||
ERROR_CODE_INCOMPATIBLE_XTRABACKUP = 3; | ||
// ERROR_CODE_INCOMPATIBLE_TARGET_MYSQL is returned if target version of MySQL is not compatible for restoring selected artifact. | ||
ERROR_CODE_INCOMPATIBLE_TARGET_MYSQL = 4; | ||
} | ||
|
||
// Error represents error message returned in the details field in the response. | ||
message Error { | ||
ErrorCode code = 1; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.