Skip to content

Commit

Permalink
backport new error codes (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Olga Shestopalova <oshestopalova@hubspot.com>
  • Loading branch information
olyazavr and Olga Shestopalova authored May 9, 2023
1 parent a95d243 commit c40dd66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proto/vtrpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ enum Code {

// DATA_LOSS indicates unrecoverable data loss or corruption.
DATA_LOSS = 15;

// CLUSTER_EVENT indicates that a cluster operation might be in effect
CLUSTER_EVENT = 17;

// Topo server connection is read-only
READ_ONLY = 18;
}

// LegacyErrorCode is the enum values for Errors. This type is deprecated.
Expand Down

0 comments on commit c40dd66

Please sign in to comment.