-
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: Enable the priority queue to analyze all partition indexes in one go (#57258) #57285
statistics: Enable the priority queue to analyze all partition indexes in one go (#57258) #57285
Conversation
Signed-off-by: Rustin170506 <[email protected]>
383b908
to
83438e5
Compare
[LGTM Timeline notifier]Timeline:
|
Signed-off-by: Rustin170506 <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qw4990, Rustin170506 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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-8.1 #57285 +/- ##
================================================
Coverage ? 71.2157%
================================================
Files ? 1466
Lines ? 423269
Branches ? 0
================================================
Hits ? 301434
Misses ? 101339
Partials ? 20496
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
This is an automated cherry-pick of #57258
What problem does this PR solve?
Issue Number: close #57257
Problem Summary:
What changed and how does it work?
After switching to the new PQ, we only have one chance to analyze newly added indexes. For example, if two indexes are created in a very short period and the analyze version 1 is used, we need to analyze these indexes separately.
However, with the current implementation, we only analyze one index at a time, which means the second index will be missed.
In this PR, I’ve checked the analyze version to ensure proper handling. The lower versions don’t have this issue because we can analyze the second index after rebuilding the entire priority queue.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.