-
Notifications
You must be signed in to change notification settings - Fork 139
split batches for RawKV batch put / delete requests #501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: lance6716 <lance6716@gmail.com>
Signed-off-by: lance6716 <lance6716@gmail.com>
self.ttls = ttls; | ||
} | ||
|
||
fn clone_then_apply_shard(&self, shard: Self::Shard) -> Self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This skips cloning the large "batch put" payload in self.pairs
when splits into shards' requests
@sleepymole: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this: Instructions 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 kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM.
/hold |
Signed-off-by: lance6716 <lance6716@gmail.com>
I also found that batch delete will also meet "raft entry is too large" error when cleaning up test data. So I implement |
Signed-off-by: lance6716 <lance6716@gmail.com>
/unhold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crazycs520, pingyu, sleepymole The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
Without the code fix, the new test will fail with
see https://github.com/tikv/client-rust/actions/runs/17204354874/job/48801577491?pr=502