-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Check and repair index under the store metadata lock #27768
Merged
Merged
Commits on Dec 12, 2017
-
Check index under the store metadata lock
Today when we get a metadata snapshot directly from a store directory, we acquire a metadata lock, then acquire an IW lock. However, we create a CheckIndex in IndexShard without acquiring the metadata lock first. This causes a recovery failed because the IW lock can be still held by `snapshotStoreMetadata`. This commit makes sure to create a CheckIndex under the metadata lock. Closes elastic#24481 Relates elastic#24787
Configuration menu - View commit details
-
Copy full SHA for b9f58e3 - Browse repository at this point
Copy the full SHA b9f58e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6c298 - Browse repository at this point
Copy the full SHA 9c6c298View commit details
Commits on Dec 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 06a1047 - Browse repository at this point
Copy the full SHA 06a1047View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34ae013 - Browse repository at this point
Copy the full SHA 34ae013View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf6802f - Browse repository at this point
Copy the full SHA cf6802fView commit details
Commits on Dec 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1a8bdd5 - Browse repository at this point
Copy the full SHA 1a8bdd5View commit details
Commits on Dec 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f231042 - Browse repository at this point
Copy the full SHA f231042View commit details
Commits on Dec 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for e6d26df - Browse repository at this point
Copy the full SHA e6d26dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90afdeb - Browse repository at this point
Copy the full SHA 90afdebView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.