split batches for RawKV batch put / delete requests#501
split batches for RawKV batch put / delete requests#501ti-chi-bot[bot] merged 8 commits intotikv:masterfrom
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.
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. DetailsIn 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. |
|
/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 |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
Signed-off-by: lance6716 <lance6716@gmail.com> Signed-off-by: Ping Yu <yuping@pingcap.com>
Without the code fix, the new test will fail with
see https://github.com/tikv/client-rust/actions/runs/17204354874/job/48801577491?pr=502