-
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] Do orphan timestamp cleanup before completing the snapshot #16365
Conversation
❌ Gradle check result for 2386c93: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16365 +/- ##
============================================
+ Coverage 71.89% 72.07% +0.17%
- Complexity 64750 64874 +124
============================================
Files 5307 5307
Lines 302664 302663 -1
Branches 43726 43723 -3
============================================
+ Hits 217612 218154 +542
+ Misses 67183 66645 -538
+ Partials 17869 17864 -5 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Gaurav Bafna <[email protected]>
❌ Gradle check result for c2ca7fe: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Gaurav Bafna <[email protected]> (cherry picked from commit f1c98a4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…16385) (cherry picked from commit f1c98a4) 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>
…h-project#16365) Signed-off-by: Gaurav Bafna <[email protected]>
Description
Currently we do orphan timestamp clean up after sending ack to the client . In between leaving the repo loop and entering the loop again , if there is a snapshot , we delete the non-orphan time stamp as well . This is because the
repositoryData
whichcleanOrphanTimestamp
has becomes stale.To simplify this, I intend to do
cleanOrphanTimestamp
when we are still in therepo loop
which means thatrepositoryData
will not change during this .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.