-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
statistics: add an analysis job factory #56073
statistics: add an analysis job factory #56073
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #56073 +/- ##
=================================================
- Coverage 72.8981% 56.1252% -16.7729%
=================================================
Files 1609 1760 +151
Lines 447275 637736 +190461
=================================================
+ Hits 326055 357931 +31876
- Misses 101140 255024 +153884
- Partials 20080 24781 +4701
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
🔢 Self-check (PR reviewed by myself and ready for feedback.)
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AilinKid, winoros 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 |
Signed-off-by: Rustin170506 <[email protected]> refacor: move to priorityqueue_test Signed-off-by: Rustin170506 <[email protected]> refactor: better time window Signed-off-by: Rustin170506 <[email protected]> refactor: better parition name and id Signed-off-by: Rustin170506 <[email protected]> docs: add comments back Signed-off-by: Rustin170506 <[email protected]> docs: add comments back Signed-off-by: Rustin170506 <[email protected]> docs: add comments back Signed-off-by: Rustin170506 <[email protected]> tests: add more cases Signed-off-by: Rustin170506 <[email protected]> refactor: make lint happy Signed-off-by: Rustin170506 <[email protected]> docs: mark it is not thread safe Signed-off-by: Rustin170506 <[email protected]> refactor: rename Signed-off-by: Rustin170506 <[email protected]> fix Signed-off-by: Rustin170506 <[email protected]>
54c666d
to
f251d0b
Compare
Conflicts resolved and rebased on the master branch. |
Signed-off-by: Rustin170506 <[email protected]>
/retest |
1 similar comment
/retest |
What problem does this PR solve?
Issue Number: ref #55906
Problem Summary:
What changed and how does it work?
An analysis job factory was added to create different analysis jobs. This would help use to reuse code when we implement the new priority queue.
Check out https://github.com/pingcap/tidb/pull/55889/files#r1758531218 to see how I used it in my new PR.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.