Skip to content

Increment settings version when upgrading index#34566

Merged
jasontedor merged 3 commits intoelastic:masterfrom
jasontedor:upgrade-settings-version
Oct 17, 2018
Merged

Increment settings version when upgrading index#34566
jasontedor merged 3 commits intoelastic:masterfrom
jasontedor:upgrade-settings-version

Conversation

@jasontedor
Copy link
Copy Markdown
Member

When we upgrade an index, we set the settings version upgraded setting. This should be considered a settings change, and therefore we need to increment the settings version. This commit addresses that.

Relates #34429

When we upgrade an index, we set the settings version upgraded
setting. This should be considered a settings change, and therefore we
need to increment the settings version. This commit addresses that.
@jasontedor jasontedor added >non-issue :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. v7.0.0 v6.5.0 labels Oct 17, 2018
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

Copy link
Copy Markdown
Contributor

@s1monw s1monw left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

LGTM

@jasontedor
Copy link
Copy Markdown
Member Author

@elasticmachine test this please

@jasontedor
Copy link
Copy Markdown
Member Author

@elasticmachine run sample packaging tests

@jasontedor jasontedor merged commit 9be87ad into elastic:master Oct 17, 2018
jasontedor added a commit that referenced this pull request Oct 17, 2018
When we upgrade an index, we set the settings version upgraded
setting. This should be considered a settings change, and therefore we
need to increment the settings version. This commit addresses that.
@jasontedor jasontedor deleted the upgrade-settings-version branch October 17, 2018 22:13
kcm pushed a commit that referenced this pull request Oct 30, 2018
When we upgrade an index, we set the settings version upgraded
setting. This should be considered a settings change, and therefore we
need to increment the settings version. This commit addresses that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >non-issue v6.5.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants