-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not remove write block when unfreezing cold/frozen indices (#73368) (
#73409) Unfreezing a snapshot backed index does not work well because the unfreeze action always removes the index.blocks.write block, causing shards to be failed when the cluster state is applied on data nodes. This is because searchable snapshots shards always expect the index.blocks.write to be set to true. This commit changes the freeze/unfreeze action so that the write block is not removed when unfreezing searchable snapshots indices. It also changes the toggling of index.frozen and index.search.throttled settings so that they are just removed (instead of being turned to false) when unfreezing.
- Loading branch information
Showing
3 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters