-
Notifications
You must be signed in to change notification settings - Fork 102
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
[BUG] MonitorRunners - SearchRequest missing cancelAfterTimeInterval parameter #827
Comments
Are you proposing its resolution to be individual plugin's responsibility to set the search.cancel_after_time_interval with max(cluster setting search.cancel_after_time_interval, plugin's default minimum value say 5s) ? |
@rishabhmaurya If I understood correctly, cluster setting If that's the case, then plugin can override this setting by setting a cancelAfterTimeInterval param in every SearchRequest before calling _search. |
I was thinking about the case when |
Ah got it. That makes sense! |
What is the bug?
In all monitor runners we don't set cancelAfterTimeInterval parameter on SearchRequest object. Consequence of this is that global cluster setting search.cancel_after_time_interval will override it, which if set too low, could impact monitor run success rate.
How can one reproduce the bug?
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: