Open Bukhtawar opened 3 years ago
Hi @Bukhtawar,
Could you explain more about how to reproduce the issue?
Looks like it has been fixed in Elasticsearch 5.0 (https://github.com/elastic/elasticsearch/commit/f32b70047241fe319cb37047cc2a47d1b56da6e1), besides, request to /
is also whitelisted from Circuit Breaking exception in Elasticsearch 6.5 (https://github.com/elastic/elasticsearch/commit/027a22abf9684897a81e6ca2216dd38214fb8021).
During my own testing, I didn't find "Cluster Health API" call is tripped by circuit breaker. My steps:
curl -XPUT "localhost:9200/_cluster/settings" -H 'Content-Type: application/json' -d '{"persistent" : {"indices.breaker.total.limit" : "5%"}}'
curl "localhost:9200/_cat/nodes?h=heap*&v"
, found "circuit_breaking_exception" in the responsecurl "localhost:9200/_cluster/health?pretty"
, got the desired response without error.Looking into reproducing this issue. Will update.
@anshul291995 @Bukhtawar any updates here, what should we do with this?
We'll need to try to repro here. I'll see if I can pick this up, any help from any community member would be of great help too
@Bukhtawar @dblock would you mind if I try to reproduce and (hopefully) fix it? thanks
So far confirming @tlfeng findings, not reproducible for /_cluster/health
: the health checks are configured to bypass all circuit breakers, it applies both to rest and transport actions. Certainly more details would help:
@Bukhtawar @dblock would you mind if I try to reproduce and (hopefully) fix it? thanks
No need to ask for permission! Thank you for contributing.
@Bukhtawar could you please help with details that @reta is seeking for? Thanks
I'll try to see if I can repro..
Closing this issue. @Bukhtawar, please feel free to reopen incase you are able to reproduce it.
Reopening as this is an issue that needs to be fixed.
Describe the bug When the JVM memory pressure is high the calls to cluster health might fail with
Expected behavior Cluster health calls shouldn't get tripped by the circuit breaker as they are important and informative and represents the state of the system
Plugins Please list all plugins currently enabled.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):