-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Index Lifecycle Management does not have a lower bound on poll_interval #39163
Comments
Pinging @elastic/es-core-features |
I wonder if we will want to set the lower bound to something higher than 1s. Do we see potential issues with ILM triggers as frequent as 1s for clusters that have frequent state changes that might have a fairly busy master node? |
If we were basing a lower bound on what we expect to be useful in the wild, a minimum of something like 1m might be reasonable, but one thing that's prevented us from using a higher minimum than 1s in the past is that we set the Having a 1s minimum poll interval makes sense. While being able to set this setting lower has been occasionally useful in the past for more quickly reproducing race conditions, if we need to do that, it can always be done in a custom build with the lower limit disabled. |
Hello all, |
@ApolloTheDeveloper there's currently already a PR open for it at #39593 |
Just merged #39593, which adds the lower bound of 1 second. |
Index Lifecycle Management has a polling interval that is configurable. The default is 10 minutes but may be changed via the dynamic
indices.lifecycle.poll_interval
setting.Currently there is no lower bound, which if set too low could consume more compute resources that are reasonably required. We should enforce a lower bound of 1000ms (1s).
To reproduce:
(watch the log file)
The text was updated successfully, but these errors were encountered: