Skip to content

Commit

Permalink
save work
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <[email protected]>
  • Loading branch information
windtalker committed Jul 5, 2023
1 parent 961f64d commit 742cfa5
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 75 deletions.
184 changes: 110 additions & 74 deletions pkg/disaggregated/disaggregated.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion proto/disaggregated.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ message GetDisaggConfigResponse {

message DisaggTaskMeta {
uint64 start_ts = 1; // start ts of a query
// query_ts + server_id + local_query_id to represent a global unique query.
// gather_id + query_ts + server_id + local_query_id to represent a global unique query.
uint64 query_ts = 2; // timestamp when start to execute query, used for TiFlash miniTSO schedule.
uint64 server_id = 3; // TiDB server id
uint64 local_query_id = 4; // unique local query_id if tidb don't restart.
int64 task_id = 5; // if task id is -1 , it indicates a tidb task.
string executor_id = 6; // the exectuor id
uint32 keyspace_id = 7; // keyspace id of the request
kvrpcpb.APIVersion api_version = 8; // API version of the request
int64 gather_id = 9;
}

message DisaggReadError {
Expand Down
5 changes: 5 additions & 0 deletions scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4121,6 +4121,11 @@
"id": 8,
"name": "api_version",
"type": "kvrpcpb.APIVersion"
},
{
"id": 9,
"name": "gather_id",
"type": "int64"
}
]
},
Expand Down

0 comments on commit 742cfa5

Please sign in to comment.