Skip to content

[DO NOT MERGE / test bundle] proto: add paging_size_bytes to coprocessor.Request#1465

Draft
YuhaoZhang00 wants to merge 2 commits into
pingcap:masterfrom
YuhaoZhang00:rc-precharge-classic-test
Draft

[DO NOT MERGE / test bundle] proto: add paging_size_bytes to coprocessor.Request#1465
YuhaoZhang00 wants to merge 2 commits into
pingcap:masterfrom
YuhaoZhang00:rc-precharge-classic-test

Conversation

@YuhaoZhang00

Copy link
Copy Markdown

Draft / test-bundle PR for the rc-precharge-classic-test integration bundle (classic / non-Premium variant of the RC paging pre-charge feature).

Summary

  • Adds paging_size_bytes (field 17) to coprocessor.Request. When set, TiKV stops scanning when accumulated scanned bytes reach this limit, enabling byte-budget paging for finer-grained Resource Control.

Sibling PRs (test bundle)

  • tikv/pd rc-precharge-classic-test
  • tikv/client-go rc-precharge-classic-test
  • pingcap/tidb rc-precharge-classic-test
  • tikv/tikv rc-precharge-classic-test

This branch exists for upstream CI / cross-repo integration testing. Not intended to be merged as-is.

Add a new uint64 field `paging_size_bytes` (field 17) to the
coprocessor Request message. When set, TiKV will stop scanning
when accumulated scanned bytes reach this limit, enabling
byte-budget paging for finer-grained Resource Control.

Signed-off-by: Yuhao Zhang <yhzhang00@outlook.com>
@pingcap-cla-assistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ti-chi-bot ti-chi-bot Bot requested a review from shihongzhi May 15, 2026 03:06
@ti-chi-bot

ti-chi-bot Bot commented May 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign cfzjywxk for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added size/XL and removed size/L labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant