resource_metering: Aggregate RawRecords before picking topN records#18834
resource_metering: Aggregate RawRecords before picking topN records#18834ti-chi-bot[bot] merged 28 commits intotikv:masterfrom
Conversation
Signed-off-by: yibin87 <huyibin@pingcap.com>
|
Hi @yibin87. Thanks for your PR. I'm waiting for a tikv member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes-sigs/prow repository. |
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
Signed-off-by: yibin87 <huyibin@pingcap.com>
|
/cc @glorv |
| }; | ||
|
|
||
| thread_local! { | ||
| static STATIC_BUF: Cell<Vec<u32>> = const {Cell::new(vec![])}; |
There was a problem hiding this comment.
Good catch, removed
|
/ok-to-test |
Signed-off-by: yibin <huyibin@pingcap.com>
Signed-off-by: yibin <huyibin@pingcap.com>
Signed-off-by: yibin <huyibin@pingcap.com>
Signed-off-by: yibin <huyibin@pingcap.com>
Signed-off-by: yibin <huyibin@pingcap.com>
|
/test pull-unit-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: glorv, nolouch 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 |
|
/cherry-pick release-8.5 |
close tikv#18844 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
@yibin87: 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. |
…ikv#18834) close tikv#18844 Add an aggregator to aggregate RawRecords by the extra tag before picking topN records. Signed-off-by: yibin <huyibin@pingcap.com> Signed-off-by: 3AceShowHand <jinl1037@hotmail.com>
…18834) (#18876) close #18844 Add an aggregator to aggregate RawRecords by the extra tag before picking topN records. Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: yibin87 <huyibin@pingcap.com> Co-authored-by: yibin <huyibin@pingcap.com> Co-authored-by: yibin87 <huyibin@pingcap.com>
What is changed and how it works?
Issue Number: Close #18844
What's Changed:
Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Test the TPCH10 benchmark, and check the other time drops from 38% to 0.0033%.
Side effects
Release note