Skip to content

[Question/FR] Index Pressure as Circuit Breaker #85853

Closed
@stefnestor

Description

@stefnestor

👋🏼 I recently learned that Coordinating Nodes can reject requests due to Index Pressure saturation. This sounds like a Circuit Breaker to me, but it is not listed with the larger group.

As a Kibana user, both induce a HTTP 429, though if I inspect error they have different response bodies. I can see via Node Stats that they return under separate sub-objects:

  • index pressure: GET _nodes/stats?filter_path=nodes.*.indexing_pressure
  • circuit breakers: GET _nodes/stats?filter_path=nodes.*.breakers

I believe you only really know they're different by checking Elasticsearch Cluster Logs for CircuitBreakingException though AFAICT you react to coordinating_rejections the same the [parent, request, inflight_requests] Circuit Breakers.

(Note: AFAICT this does not overlap with #62223, but my apologies if I've misunderstood.)

Request: Can you help me understand if Index Pressure is intended to be/become a Circuit Breaker type? If not, could it (and this issue become a feature request)? If not to both, can you send me an example of coordinating_rejections induced Elasticsearch log to help me separate these in my mind? 🙏🏼

TIA!

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/Circuit BreakersTrack estimates of memory consumption to prevent overloadTeam:Core/InfraMeta label for core/infra team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions