-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Make soft-deletes mandatory in 8.0 #51122
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
Conversation
|
Pinging @elastic/es-distributed (:Distributed/Engine) |
server/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/action/admin/indices/shrink/TransportResizeAction.java
Outdated
Show resolved
Hide resolved
|
@ywelsch Thank you for catching these issues. I thought about always enabling soft-deletes for restored and resized indices whether their sources have soft-deletes or not. But I forgot to wire the setting properly (sorry). Anyway, I think it's safer to keep the setting disabled. I have addressed the resize in 0ecee87 and snapshot in 9a992a9. Can you take another look? |
ywelsch
left a comment
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.
LGTM. Thanks!
|
Thanks Yannick. |
Creating indices with soft deletes disabled is no longer supported in 8.0.
Creating indices with soft deletes disabled is no longer supported in 8.0.