Skip to content

Use real memory circuit breaker when running Elasticsearch from source #102470

Open
@iverase

Description

@iverase

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:

Execution failed for task ':run'.
> Testclusters does not allow the following settings to be changed:[indices.breaker.total.use_real_memory] for node{::runTask-0}

The issue is the following line and commenting it out makes the clsuter work with the circuit breaker:

baseConfig.put("indices.breaker.total.use_real_memory", "false");

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions