Skip to content

Commit

Permalink
Cherry-pick diff snapshot change into release/v1.0 (#3454)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr authored May 21, 2019
1 parent f6f9edc commit 6e4b47b
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 208 deletions.
8 changes: 5 additions & 3 deletions protos/pb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ message Mutations {

message Snapshot {
RaftContext context = 1;
uint64 index = 2;
uint64 read_ts = 3;
uint64 index = 2;
uint64 read_ts = 3;
// done is used to indicate that snapshot stream was a success.
bool done = 4;
bool done = 4;
// since_ts stores the ts of the last snapshot to support diff snap updates.
uint64 since_ts = 5;
}

message Proposal {
Expand Down
Loading

0 comments on commit 6e4b47b

Please sign in to comment.