-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Snapshot v2] Run queued operations post v2 operations completion #16179
Conversation
Signed-off-by: Gaurav Bafna <[email protected]>
❕ Gradle check result for ebdf154: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16179 +/- ##
============================================
+ Coverage 71.88% 71.91% +0.02%
- Complexity 64496 64520 +24
============================================
Files 5291 5291
Lines 301668 301670 +2
Branches 43576 43576
============================================
+ Hits 216863 216950 +87
+ Misses 67031 66914 -117
- Partials 17774 17806 +32 ☔ View full report in Codecov by Sentry. |
Changes are covered as part of integ tests which is not considered in CodeCov. Bypassing the check. |
Signed-off-by: Gaurav Bafna <[email protected]> (cherry picked from commit ba8f1be) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.
Didn't understand how this is preventing concurrent operations.
if (clusterService.state().nodes().isLocalNodeElectedClusterManager() == false) { | ||
leaveRepoLoop(repositoryName); |
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 have we moved this inside?
… completion (#16191) * Run queued operations post v2 operations completion (#16179) Signed-off-by: Gaurav Bafna <[email protected]> (cherry picked from commit ba8f1be) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Mute snapshot v2 flaky tests (#16193) Signed-off-by: Gaurav Bafna <[email protected]> --------- Signed-off-by: Gaurav Bafna <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Gaurav Bafna <[email protected]>
…ct#16179) Signed-off-by: Gaurav Bafna <[email protected]>
…ct#16179) Signed-off-by: Gaurav Bafna <[email protected]>
…ct#16179) Signed-off-by: Gaurav Bafna <[email protected]>
Description
For snapshot-v2, we don't allow concurrent snapshots . But meanwhile non-v2 snapshot operations (clone / delete) can get queued . This is triggering the queued v1 operations.
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.