Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Customizable job interval / managed index interval #278

Open
dbbaughe opened this issue Aug 5, 2020 · 0 comments
Open

Customizable job interval / managed index interval #278

dbbaughe opened this issue Aug 5, 2020 · 0 comments
Labels
enhancement An improvement on the existing feature’s functionalities

Comments

@dbbaughe
Copy link
Contributor

dbbaughe commented Aug 5, 2020

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.

@dbbaughe dbbaughe added the enhancement An improvement on the existing feature’s functionalities label Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An improvement on the existing feature’s functionalities
Projects
None yet
Development

No branches or pull requests

1 participant