Skip to content

[7.x] Auto convert shared_cache SBIs to only use frozen tier (#71014)#71129

Merged
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-71014
Mar 31, 2021
Merged

[7.x] Auto convert shared_cache SBIs to only use frozen tier (#71014)#71129
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-71014

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Mar 31, 2021

Backports the following commits to 7.x:

This commit converts the index metadata of searchable snapshot indices using the `shared_cache`
storage type to:

- Remove all the `index.routing.allocation.(include|exclude|require)._tier` settings
- Sets `index.routing.allocation.include._tier_preference` to `data_frozen` automatically when the index metadata is read

This is in preperation to enforcing that the `_tier_preference` setting is always set to
`data_frozen` for shared cache SBIs.

Relates to elastic#70846, elastic#71013, elastic#70786, elastic#70141
@dakrone dakrone added backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.13.0 labels Mar 31, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Mar 31, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@dakrone
Copy link
Copy Markdown
Member Author

dakrone commented Mar 31, 2021

@elasticmachine run elasticsearch-ci/2

@dakrone dakrone merged commit 696c918 into elastic:7.x Mar 31, 2021
@dakrone dakrone deleted the backport/7.x/pr-71014 branch March 31, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Meta label for distributed team. v7.13.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants