Skip to content

Make soft-deletes mandatory in 8.0#51122

Merged
dnhatn merged 9 commits intoelastic:masterfrom
dnhatn:soft-deletes-mandatory
Jan 17, 2020
Merged

Make soft-deletes mandatory in 8.0#51122
dnhatn merged 9 commits intoelastic:masterfrom
dnhatn:soft-deletes-mandatory

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented Jan 16, 2020

Creating indices with soft deletes disabled is no longer supported in 8.0.

@dnhatn dnhatn added >breaking >non-issue :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. v8.0.0 labels Jan 16, 2020
@dnhatn dnhatn requested a review from ywelsch January 16, 2020 18:53
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Engine)

@dnhatn
Copy link
Copy Markdown
Member Author

dnhatn commented Jan 17, 2020

@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?

@dnhatn dnhatn requested a review from ywelsch January 17, 2020 02:59
Copy link
Copy Markdown
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@dnhatn
Copy link
Copy Markdown
Member Author

dnhatn commented Jan 17, 2020

Thanks Yannick.

@dnhatn dnhatn merged commit c893a3e into elastic:master Jan 17, 2020
@dnhatn dnhatn deleted the soft-deletes-mandatory branch January 17, 2020 22:34
@dnhatn dnhatn mentioned this pull request Jan 18, 2020
14 tasks
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
Creating indices with soft deletes disabled is no longer supported in 8.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>breaking :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. >non-issue v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants