raft: Fix the max concurrency of IngestSST#10609
raft: Fix the max concurrency of IngestSST#10609ti-chi-bot[bot] merged 4 commits intopingcap:masterfrom
Conversation
…y-pool-size Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CalvinNeo, JinheLin 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 |
|
In response to a cherrypick label: failed to apply #10609 on top of branch "release-8.5": |
|
/cherry-pick release-nextgen-20251011 |
|
@JaySon-Huang: new pull request created to branch 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 ti-community-infra/tichi repository. |
close #10605 * Parse `raftstore.apply-low-priority-pool-size` in `KVStore::fetchProxyConfig` * `KVStore::getMaxPrehandleSubtaskSize` return different max concurrency according to the job_type Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
close pingcap#10605 * Parse `raftstore.apply-low-priority-pool-size` in `KVStore::fetchProxyConfig` * `KVStore::getMaxPrehandleSubtaskSize` return different max concurrency according to the job_type Signed-off-by: JaySon-Huang <tshent@qq.com>
What problem does this PR solve?
Issue Number: close #10605
Problem Summary: as the issue comment describe #10605 (comment)
KVStore::preHandleSSTsToDTFilesis the common path for both PreHandleSnapshot and IngestSST, callingprehandling_trace.waitForSubtaskResourceswill block the max concurrency of IngestSST by the pre handle snapshot thread-poolWhat is changed and how it works?
Check List
Tests
confirm that tiflash can successful parse and get the ingest sst max concurrency from tiflash-proxy
Run BR restore chbenchmark-1500
Side effects
Documentation
Release note