-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Enable cancellation for msearch requests #61337
Conversation
Pinging @elastic/es-search (:Search/Search) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks Jim! |
Today multi-search requests are not cancellable because we create regular tasks instead of cancellable ones for them.
Now that msearch is cancellable, is the plan to make it possible to automatically cancel it on connection close, like search works? |
@javanna I think we should implement it as it will be a small/contained change with RestCancellableNodeClient. (Sorry, I did not see your PR #44494 that implements the cancellation for msearch till now). |
no worries @dnhatn it had stalled and I was not finding time to get back to it. Thanks for fixing. |
Today multi-search requests are not cancellable because we create regular tasks instead of cancellable ones for them.