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

Customizable job interval / managed index interval #47

Open
adityaj1107 opened this issue Jun 3, 2021 · 0 comments
Open

Customizable job interval / managed index interval #47

adityaj1107 opened this issue Jun 3, 2021 · 0 comments
Labels
enhancement New request

Comments

@adityaj1107
Copy link
Contributor

Issue by dbbaughe
Wednesday Aug 05, 2020 at 04:46 GMT
Originally opened as opendistro-for-elasticsearch/index-management#278


Right now every Managed Index job is scheduled to run every 5 minutes by default and can be controlled by the opendistro.index_state_management.job_interval setting for increasing or decreasing.

This is a global setting that all jobs use (with the caveat of changing it doesn't take affect until after the next execution of each job). It is possible though that you might want some jobs to run more frequently than others, i.e. you have some indices that might be more important and should run more frequently to catch rollover/transition conditions faster or execute some actions more frequently that some old indices that is just going to delete itself in 90 days.

To take it even further while inside a single job you might actually want certain states to execute more frequently. The first state of your policy that is waiting to move to warm in 24 hours might execute a lot more frequently than the last state that is waiting to delete the index after a couple months.

We could keep taking this further if there was a need (i.e. actions can have different intervals).

The job would then use whichever job interval is more granular. This could allow a user to free up consumed resources from specific states that really don't need to be executed as frequently; especially when dealing with hundreds to thousands of indices.

@adityaj1107 adityaj1107 added the enhancement New request label Jun 3, 2021
thalurur pushed a commit to thalurur/open-index-management that referenced this issue Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New request
Projects
None yet
Development

No branches or pull requests

1 participant