Skip to content

Commit

Permalink
proto: add an option to exclude tombstone stores (#359)
Browse files Browse the repository at this point in the history
* proto: add an option to exclude tombstone stores
  • Loading branch information
huachaohuang authored and overvenus committed Feb 26, 2019
1 parent edfc1f4 commit dc5d955
Show file tree
Hide file tree
Showing 9 changed files with 798 additions and 711 deletions.
336 changes: 190 additions & 146 deletions pkg/pdpb/pdpb.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions proto/pdpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ message PutStoreResponse {

message GetAllStoresRequest {
RequestHeader header = 1;
// Do NOT return tombstone stores if set to true.
bool exclude_tombstone_stores = 2;
}

message GetAllStoresResponse {
Expand Down
2 changes: 1 addition & 1 deletion src/coprocessor.rs

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

2 changes: 1 addition & 1 deletion src/errorpb.rs

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

2 changes: 1 addition & 1 deletion src/import_kvpb.rs

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

2 changes: 1 addition & 1 deletion src/import_sstpb.rs

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

4 changes: 2 additions & 2 deletions src/kvrpcpb.rs

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

1,155 changes: 598 additions & 557 deletions src/pdpb.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/tikvpb.rs

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

0 comments on commit dc5d955

Please sign in to comment.