-
Couldn't load subscription status.
- Fork 6k
traceevent: fix point-get short path and prev_trace_id tracking #64147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…istence Point-get queries bypassed trace ID generation by taking a fast path that skipped runStmt(). Additionally, prev_trace_id was never logged because the trace ID was retrieved from context which gets recreated for each statement execution. Fixed by adding trace ID generation to the point-get path and storing trace IDs in SessionVars to persist across statements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: ekexium <eke@fastmail.com>
3b1cb44 to
2942579
Compare
Signed-off-by: ekexium <eke@fastmail.com>
Signed-off-by: ekexium <eke@fastmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #64147 +/- ##
================================================
+ Coverage 72.6850% 72.9133% +0.2283%
================================================
Files 1858 1859 +1
Lines 502321 502568 +247
================================================
+ Hits 365112 366439 +1327
+ Misses 114988 114027 -961
+ Partials 22221 22102 -119
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
[LGTM Timeline notifier]Timeline:
|
|
/retest |
1 similar comment
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfzjywxk, MyonKeminta, tiancaiamao, yudongusa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
1 similar comment
|
/retest |
|
/hold pkg/session/tidb_test.go |
Signed-off-by: ekexium <eke@fastmail.com>
|
@ekexium: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
@ekexium: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: ref #64008
Problem Summary:
What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.