-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alias Action #35
Comments
Comment by dbbaughe Hey @jasonrojas, @teddyphreak, and @dparker18 Do you have some examples of what you would be using this for? And any specific optional settings for the alias operation? |
Comment by samling One use case we have is for indices older than a certain age, we allocate them to a cold node, shrink them, delete the original and create an alias with the original name that points to the shrink index. This keeps our shard count down while not breaking queries for older data. |
Comment by dparker18 My use case is when an index |
Comment by jasonrojas my use case is around the shrinking of indices as well. But in general I think it would be great to support adding an alias, especially if we get to the stage where we can roll up indices into single indices then alias them with the ones that were rolled up. |
Comment by tharsha18 My use case is, If we have an alias for an index with rollover ILM policy, can we remove it from alias after some predefined days, let's say 30 days? I know there is a way to delete an index once its old, but in our case we do not want to delete but want the index to be removed from alias and have the alias switch and point to indices whose age is less than 30 days. |
Comment by CharlesZ-Chen My use case is: we provide |
Signed-off-by: Megha Goyal <goyamegh@amazon.com>
* Adds an alias action (#35) Signed-off-by: Megha Goyal <goyamegh@amazon.com> * Enabling alias action on managed indices only * Add checks to aid debugging and testing steps for using alias action Signed-off-by: Megha Goyal <goyamegh@amazon.com> Signed-off-by: Megha Goyal <goyamegh@amazon.com>
* Adds an alias action (#35) Signed-off-by: Megha Goyal <goyamegh@amazon.com> * Enabling alias action on managed indices only * Add checks to aid debugging and testing steps for using alias action Signed-off-by: Megha Goyal <goyamegh@amazon.com> Signed-off-by: Megha Goyal <goyamegh@amazon.com> (cherry picked from commit 50072af)
* Adds an alias action (#35) Signed-off-by: Megha Goyal <goyamegh@amazon.com> * Enabling alias action on managed indices only * Add checks to aid debugging and testing steps for using alias action Signed-off-by: Megha Goyal <goyamegh@amazon.com> Signed-off-by: Megha Goyal <goyamegh@amazon.com> (cherry picked from commit 50072af)
…opensearch-project#589) * Adds an alias action (opensearch-project#35) Signed-off-by: Megha Goyal <goyamegh@amazon.com> Co-authored-by: Megha Goyal <56077967+goyamegh@users.noreply.github.com>
…opensearch-project#589) * Adds an alias action (opensearch-project#35) Signed-off-by: Megha Goyal <goyamegh@amazon.com> Co-authored-by: Megha Goyal <56077967+goyamegh@users.noreply.github.com> Signed-off-by: Ronnak Saxena <ronsax@amazon.com>
Issue by dbbaughe
Tuesday Feb 11, 2020 at 19:05 GMT
Originally opened as opendistro-for-elasticsearch/index-management#148
During the community meeting, someone asked if it was possible to have an action to add an alias to the index.
Will use this issue to track it + see if other people are interested.
The text was updated successfully, but these errors were encountered: