Skip to content

Commit

Permalink
add check policy for split region (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor1996 authored and zhangjinpeng87 committed Jul 13, 2018
1 parent 3357dfe commit 7f09068
Show file tree
Hide file tree
Showing 14 changed files with 592 additions and 427 deletions.
328 changes: 194 additions & 134 deletions pkg/pdpb/pdpb.pb.go

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions proto/pdpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ message Merge {
}

message SplitRegion {
CheckPolicy policy = 1;
}

enum CheckPolicy {
SCAN = 0;
APPROXIMATE = 1;
}

message RegionHeartbeatResponse {
Expand Down
4 changes: 2 additions & 2 deletions src/coprocessor.rs

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

6 changes: 3 additions & 3 deletions src/debugpb.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/errorpb.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/import_kvpb.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/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.

10 changes: 5 additions & 5 deletions src/lib.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/metapb.rs

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

Loading

0 comments on commit 7f09068

Please sign in to comment.