Skip to content
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

Close Action - validation/contraints/stats #27

Closed
adityaj1107 opened this issue Jun 3, 2021 · 1 comment
Closed

Close Action - validation/contraints/stats #27

adityaj1107 opened this issue Jun 3, 2021 · 1 comment
Labels

Comments

@adityaj1107
Copy link
Contributor

Issue by dbbaughe
Tuesday Jul 23, 2019 at 22:55 GMT
Originally opened as opendistro-for-elasticsearch/index-management#40


Currently when we do a Close action, we still allow you to define any actions after + transitions with conditions. We need to provide some validation framework to disallow certain policy configurations that do not make any sense (i.e. you cannot do this to a closed index, so don't even allow it). This can lead to a larger policy validation framework in general, but we have known issues with Close.

We also currently do IndexStats requests in transition which throws an error on closed index. So we need to a) not allow certain conditions (since doc count and size should never increase for a closed index) and b) figure out how to get index_age from a closed index.

@adityaj1107 adityaj1107 added action Index management actions enhancement New request labels Jun 3, 2021
thalurur pushed a commit to thalurur/open-index-management that referenced this issue Oct 22, 2021
@bowenlan-amzn bowenlan-amzn added ism action and removed action Index management actions labels Nov 5, 2022
@bowenlan-amzn
Copy link
Member

Track in error prevention project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants