Skip to content

Commit

Permalink
Merge branch 'add-err-type' of github.com:okJiang/kvproto into add-er…
Browse files Browse the repository at this point in the history
…r-type

Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Jul 12, 2024
2 parents 49bf52b + d9f4f88 commit 91ac626
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pkg/pdpb/pdpb.pb.go

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

6 changes: 4 additions & 2 deletions proto/pdpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,10 @@ message BatchScanRegionsRequest {

repeated KeyRange ranges = 3; // the given ranges must be in order.
int32 limit = 4; // limit the total number of regions to scan.
// If contain_all_key_range is true, the output must contain all key ranges in the request.
// If the output does not contain all key ranges, the request is considered failed and returns an error(REGIONS_NOT_CONTAIN_ALL_KEY_RANGE).
// If contain_all_key_range is true, the output must contain all
// key ranges in the request.
// If the output does not contain all key ranges, the request is considered
// failed and returns an error(REGIONS_NOT_CONTAIN_ALL_KEY_RANGE).
bool contain_all_key_range = 5;
}

Expand Down

0 comments on commit 91ac626

Please sign in to comment.