Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Aug 27, 2018

For now, we do not support changing the soft-deletes setting even with
closed indices. Therefore we should make it a final setting.

For now, we do not support changing the soft-deletes setting even with
closed indices. Therefore we should it a final setting.
@dnhatn dnhatn added >feature :Distributed Indexing/CCR Issues around the Cross Cluster State Replication features labels Aug 27, 2018
@dnhatn dnhatn requested review from jasontedor and s1monw August 27, 2018 14:19
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

Good call. LGTM.

@jasontedor
Copy link
Member

@dnhatn Should we mark this setting as IndexInternal as well so that it can only be added to an index at creation time?

@jasontedor
Copy link
Member

Actually, looking more closely, Final gives us that. The salient difference between Final and InternalIndex is that a Final setting can never be modified but an InternalIndex setting can be modified by dedicated APIs but not the update settings API.

@dnhatn
Copy link
Member Author

dnhatn commented Aug 28, 2018

Thanks @jasontedor and @s1monw for reviewing!

@dnhatn dnhatn merged commit d8a1b7c into elastic:ccr Aug 28, 2018
@dnhatn dnhatn deleted the soft-deletes-final branch August 28, 2018 12:48
jasontedor added a commit to martijnvg/elasticsearch that referenced this pull request Aug 28, 2018
* ccr:
  Fix ShardFollowNodeTask.Status equals and hash code (elastic#33189)
  Make soft-deletes settings final (elastic#33172)
  Only fetch mapping updates when necessary (elastic#33182)
dnhatn added a commit that referenced this pull request Aug 28, 2018
For now, we do not support changing the soft-deletes setting even with
closed indices. Therefore we should make it a final setting.

Relates #29530
@jitianxia68
Copy link

i want to know, why can not open soft_delete setting dynamicly?
can we support it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/CCR Issues around the Cross Cluster State Replication features >feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants