session,store: remove RUv2 rpc interceptor#67508
session,store: remove RUv2 rpc interceptor#67508disksing wants to merge 2 commits intopingcap:masterfrom
Conversation
Signed-off-by: disksing <i@disksing.com>
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR bumps several Go dependency pins and removes statement-level RUv2 RPC interceptor metric plumbing, consolidating RUv2 metric updates into a new execdetails function and updating call sites and tests accordingly. Changes
Sequence Diagram(s)mermaid Note over Session,TiKV: Old flow (interceptor-based) Note over Session,TiKV: New flow (centralized) Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @disksing. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with 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. |
|
Review Complete Findings: 0 issues ℹ️ Learn more details on Pantheon AI. |
|
/retest |
|
/ok-to-test |
|
/retest |
1 similar comment
|
/retest |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #67508 +/- ##
================================================
- Coverage 77.7173% 77.0594% -0.6580%
================================================
Files 1959 1943 -16
Lines 543377 543617 +240
================================================
- Hits 422298 418908 -3390
- Misses 120238 124707 +4469
+ Partials 841 2 -839
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/retest |
Signed-off-by: disksing <i@disksing.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |
|
@disksing: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: ref #67199
Problem Summary:
TiDB currently relies on a dedicated RUv2 RPC interceptor to collect statement-level raw RPC counters. After kvproto exposes these counters on
ExecDetailsV2.RuV2and client-go starts filling them there, TiDB can remove the extra interceptor path and read the data directly from exec details.What changed and how does it work?
github.com/pingcap/kvprototo the latest master, including pingcap/kvproto#1445github.com/tikv/client-go/v2to the latest master, including tikv/client-go#1933ExecDetailsV2.RuV2intoRUV2MetricsCheck List
Tests
Side effects
Documentation
Release note
Summary by CodeRabbit