[to #556] slowlog: attach cluster_id and pd_addresses to slow log properties#557
Merged
zz-jason merged 4 commits intotikv:masterfrom Mar 21, 2022
Merged
Conversation
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
marsishandsome
previously approved these changes
Mar 17, 2022
ti-srebot
previously approved these changes
Mar 17, 2022
2 tasks
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
aaabdd2
Codecov Report
@@ Coverage Diff @@
## master #557 +/- ##
============================================
- Coverage 32.23% 32.05% -0.19%
Complexity 1332 1332
============================================
Files 278 279 +1
Lines 17345 17372 +27
Branches 1975 1980 +5
============================================
- Hits 5591 5568 -23
- Misses 11145 11194 +49
- Partials 609 610 +1
Continue to review full report at Codecov.
|
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
zz-jason
approved these changes
Mar 21, 2022
ti-srebot
pushed a commit
to ti-srebot/client-java
that referenced
this pull request
Mar 21, 2022
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Collaborator
|
cherry pick to release-3.1 in PR #559 |
ti-srebot
pushed a commit
to ti-srebot/client-java
that referenced
this pull request
Mar 21, 2022
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Collaborator
|
cherry pick to release-3.2 in PR #560 |
zz-jason
pushed a commit
that referenced
this pull request
Mar 24, 2022
zz-jason
added a commit
that referenced
this pull request
Mar 28, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: iosmanthus myosmanthustree@gmail.com
What problem does this PR solve?
Issue Number: to #556
Problem Description:
Attach
cluster_idandpd_addressesto slow log to distinguish the request destination while handling multiple TiKV clusters.What is changed and how does it work?
Add
withFieldsforSlowLogImpl, and use this interface to attach info dynamically while constructing the slow logger.Code changes
Check List for Tests
This PR has been tested by at least one of the following methods:
Related changes