Use real memory circuit breaker when running Elasticsearch from source #102470
Labels
:Clients/Java Low Level REST Client
Minimal dependencies Java Client for Elasticsearch
:Core/Infra/Circuit Breakers
Track estimates of memory consumption to prevent overload
Team:Clients
Meta label for clients team
Team:Core/Infra
Meta label for core/infra team
During development I often run elasticsearch from source using
./gradlew run
. While working with the real real memory circuit breaker I noticed that it is disable when running in this mode and it is not allow to use it:The issue is the following line and commenting it out makes the clsuter work with the circuit breaker:
elasticsearch/build-tools/src/main/java/org/elasticsearch/gradle/testclusters/ElasticsearchNode.java
Line 1421 in da389b4
I am wondering if we can revise this restriction and if it is obsolete, allow to run test clusters with the real memory circuit breaker.
The text was updated successfully, but these errors were encountered: