Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions proto/errorpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ message UndeterminedResult {
string message = 1;
}

message InvalidMaxTsUpdate {
uint64 attempted_ts = 1;
uint64 limit_ts = 2;
}

// Error wraps all region errors, indicates an error encountered by a request.
message Error {
reserved "stale_epoch";
Expand Down Expand Up @@ -217,4 +222,5 @@ message Error {

// UndeterminedResult is the error variant that tells the result is not determined yet.
UndeterminedResult undetermined_result = 22;
InvalidMaxTsUpdate invalid_max_ts_update = 23;
}
20 changes: 20 additions & 0 deletions scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6671,6 +6671,21 @@
}
]
},
{
"name": "InvalidMaxTsUpdate",
"fields": [
{
"id": 1,
"name": "attempted_ts",
"type": "uint64"
},
{
"id": 2,
"name": "limit_ts",
"type": "uint64"
}
]
},
{
"name": "Error",
"fields": [
Expand Down Expand Up @@ -6783,6 +6798,11 @@
"id": 22,
"name": "undetermined_result",
"type": "UndeterminedResult"
},
{
"id": 23,
"name": "invalid_max_ts_update",
"type": "InvalidMaxTsUpdate"
}
],
"reserved_names": [
Expand Down