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.
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
refactor(collector): sort out the structure of partition hotspot detection #597
refactor(collector): sort out the structure of partition hotspot detection #597
Changes from 39 commits
14f5f52
f65aa72
785be3f
98bd7f3
54135fb
76ff93b
3c8a516
dfa3091
f31953a
6575e40
6d62ad2
8a421bf
e74ee75
ce085fc
6a63987
1143c74
8dfeeb7
2cee641
b6c5694
e75f44d
7c012be
1eb187f
70e083d
6804702
4c50397
99954d7
e44e08c
b2b97e8
7e9a76b
0134f50
8ac6320
5b1a36a
120dab2
cec568f
012ce98
d27d7a2
734f290
88de731
05dc899
6ff0822
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Why need such prerequiste? What if a partition qps is 0?
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.
In order to prevent too many 0 elements in the queue from interfering with the accuracy of the historical data, we choose to ignore some small values
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.
replica_base
has aapp_name()
method.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.
hotspot_partition_calculator stores the statistical data of the correspond table,
_app_name
is for that table, not itself.This file was deleted.