-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Feature Request] cancel_after_time_interval
and timeout
parameters should remain one
#11642
Comments
@kkewwei there's a post on forum which might answer your question https://forum.opensearch.org/t/cancel-after-time-interval-clarification/15915/4 |
@noCharger https://forum.opensearch.org/t/cancel-after-time-interval-clarification/15915/4 only describe the meaning of configuration, what I want to describe is whether we should remove the shard-level timeout and only keep request-level timeout, this doesn't seem like one thing. |
@sohami I know the nuances, and I also think cancel_after_timeinterval is useful. But from the user's perspective, I don't care shard-level timeout and request-level timeout, if a timeout is set, then we want to return directly(partial result or failure) after timeout. If we can merge cancel_after_time_interval and timeout? |
@sohami @Bukhtawar @getsaurabh02 please help check, It seems that if
In product, |
Describe the solution you'd like
As a user, when setting
timeout
, we want to return after timeout, regardless of whether it is a shard-level timeout or a request-level timeout. now we supportcancel_after_time_interval
andtimeout
, which are a bit redundant. In addition, if the user setscancel_after_time_interval
smaller thantimeout
, thentimeout
will have no effect.Can we replace
cancel_after_time_interval
withtimeout
in some case? Implement timeout cancellation function ontimeout
, and remove the meaning of shard-level timeout ontimeout
.Related component
Search
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: