-
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
Fix Shallow copy snapshot failures on closed index #16868
base: main
Are you sure you want to change the base?
Fix Shallow copy snapshot failures on closed index #16868
Conversation
❌ Gradle check result for 88c3280: 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? |
❕ Gradle check result for e4fd52b: 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 #16868 +/- ##
============================================
- Coverage 72.21% 72.07% -0.14%
+ Complexity 65335 65222 -113
============================================
Files 5318 5318
Lines 304081 304110 +29
Branches 43995 44001 +6
============================================
- Hits 219578 219179 -399
- Misses 66541 66973 +432
+ Partials 17962 17958 -4 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Shubh Sahu <[email protected]>
Signed-off-by: Shubh Sahu <[email protected]>
Signed-off-by: Shubh Sahu <[email protected]>
e4fd52b
to
b0ea945
Compare
Description
We observed for a remote-store backed index, if the index get’s closed, the shallow snapshot fails for the shard with error :
java.nio.file.NoSuchFileException: Metadata file is not present for given primary term <X> and generation <Y>
.On root causing the issue we found :
Approach :
Related Issues
Resolves [#13805]
Check List
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.