-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Include hits in request circuit breaker #9310
Comments
I think there are several things to think about:
Overall I am a bit concerned such a feature would be very hard to implement correctly while addressing #9311 would already solve most problems. |
@jpountz I think this should use our request circuit breaker mechanism, that already works well in the context of aggs (in terms of releasing it at the correct search execution phase) and is "global". My thought was simply to add to the circuit breaker once each document is loaded. This will also help to take into account a more bigger notion of memory usage, basically anything the request circuit breaker encapsulates. |
@danielmitterdorfer does the inflight request circuit breaker handle this situation already? |
@clintongormley No, the inflight-request circuit breaker tracks only bytes for request processing (see |
@clintongormley can you elaborate on the priority of this item? This is on this page: https://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html |
Hey @jpountz when serializing the response, do you think it makes sense to have a hard limit on the response size, since we don't have any breakers for response neither do we have a limit on per doc size, only max docs/search buckets. |
Closing in favor of #42318. |
The bytes from the
_source
field and highlighting returned during theFETCH
phase should be included in the request circuit breaker.The text was updated successfully, but these errors were encountered: