-
Notifications
You must be signed in to change notification settings - Fork 1.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
[BUG][Remote Store] Snapshot failing with metadata not found for given commit generation and Primary Term #10217
Comments
need remote translog folks help with this one. tagging @gbbafna and @sachinpkale for visibility. |
Taking a look |
sachinpkale
added
Storage
Issues and PRs relating to data and metadata storage
v2.11.0
Issues and PRs related to version 2.11.0
and removed
untriaged
labels
Sep 28, 2023
Logs from test failure (prefixed to show the two refreshes executing concurrently):
|
Complete log - test.zip |
7 tasks
Ran 1500+ times on local without failure with a fix in #10341 |
Good find @sachinpkale. Thanks for quickly root causing and fixing this. |
71 tasks
This was referenced Jan 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Sometimes Shallow copy snapshot fails with
java.nio.file.NoSuchFileException: Metadata file is not present for given primary term x and generation y
. This was not failing before this change to enable remote translog by default for all remote store enabled indices. With remote translog, for some reason sometimes metadata upload is failing.StackTrace
To Reproduce
reproduced this by running the above test in a loop and it fails after some 100th run. so this issue is not that frequent but happening due to some corner case.
The text was updated successfully, but these errors were encountered: