Skip to content

Commit

Permalink
FlushRequest: introduce the generation field
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Jan 15, 2024
1 parent 38bc4c1 commit a0469c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proto/kvrpcpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,8 @@ message FlushRequest {
bytes primary_key = 3;
uint64 start_ts = 4;
uint64 min_commit_ts = 5;
// generation of the flush request. It is a monotonically increasing number in each transaction.
uint64 geneartion = 6;
}

message FlushResponse {
Expand Down
5 changes: 5 additions & 0 deletions scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11346,6 +11346,11 @@
"id": 5,
"name": "min_commit_ts",
"type": "uint64"
},
{
"id": 6,
"name": "geneartion",
"type": "uint64"
}
]
},
Expand Down

0 comments on commit a0469c5

Please sign in to comment.