forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Shrink Action to Index Lifecycle Management (elastic#3491)
This does the following in sequential service polls 1. sets the index to read-only and runs shrink with a modified `index.lifecycle.name` setting set to `null`. 2. checks to see if shrink is complete, if it is... b. set target index's `index.lifecycle.*` settings to the original index's values. 3. if not complete, just wait till next iteration 4. if operating on shrunken index, delete old index and add it as an alias to shrunken index
- Loading branch information
Showing
4 changed files
with
667 additions
and
20 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
Oops, something went wrong.