Skip to content

Add circuit breaker for memory used by a request's calculations #67476

@williamrandolph

Description

@williamrandolph

Create a circuit breaker that provides the ability to limit memory on a per request basis, but only for calculation being performed from that request. For example, queries that perform unique counts on buckets of buckets on large data sets can be node killers.

The result could be something like:
breaker.search.calculation.memory_used - Calculations memory used (ie. unique counts)

This issue was originally mentioned as part of #62457 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions