coprocessor: return bucket version not match error if the given bucket's version is stale#15224
Conversation
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
Signed-off-by: bufferflies <1045931706@qq.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
Signed-off-by: bufferflies <1045931706@qq.com>
| tracker.req_ctx.context.buckets_version!=0 { | ||
| let mut bucket_not_match = errorpb::BucketVersionNotMatch::default(); | ||
| bucket_not_match.set_version(buckets.version); | ||
| bucket_not_match.set_keys(buckets.keys.clone().into()); |
There was a problem hiding this comment.
Is there any size limit of coprocessor response? Can it cause error grpc: received message larger than max ...?
There was a problem hiding this comment.
the grpc send limit: Maximum value: 2147483647. buckets keys can't exceed than it even than 100GB/50MB=2000 keys .If happened, the buckets report also met this problem.
f22afde to
728bcc1
Compare
…version_not_match
728bcc1 to
7053a72
Compare
|
Please fix CI, rest LGTM. |
Signed-off-by: bufferflies <1045931706@qq.com>
fa3797d to
adcfde6
Compare
all ut passed |
|
/merge |
|
@overvenus: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: adcfde6 |
|
/rebuild |
close tikv#15123 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
In response to a cherrypick label: new pull request created to branch |
What is changed and how it works?
Issue Number: Close #15123, #15121
client-go : tikv/client-go#918
What's Changed:
Related changes
Check List
Tests
Side effects
Release note