-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: log trace fields in CoprocessorDAGHandler
#46506
Conversation
0a77deb
to
2751dae
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #46506 +/- ##
================================================
- Coverage 73.3629% 71.9259% -1.4370%
================================================
Files 1303 1338 +35
Lines 394540 409193 +14653
================================================
+ Hits 289446 294316 +4870
- Misses 86687 96304 +9617
- Partials 18407 18573 +166
Flags with carried forward coverage won't be shown. Click here to find out more.
|
2751dae
to
fbd1637
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bb7133, hawkingrei 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 |
[LGTM Timeline notifier]Timeline:
|
/test all |
/retest |
2 similar comments
/retest |
/retest |
/test all |
1 similar comment
/test all |
What problem does this PR solve?
Issue Number: close #46505, ref #46071
What is changed and how it works?
We need to log
connection_id
andsession_alias
to tracing operations across the node. This PR add these two fields in tidb coprocessor context. And then the tidb coprocessor's log will include tracing fields like:Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.