Skip to content

ES|QL: Increase maximum number of allowed FORK branches #142377

@ioanatia

Description

@ioanatia

FORK right now allows a maximum of 8 branches.
Since FORK executes the branches in parallel, we needed to put a limit on how many we can realistically support without running into circuit breakers exceptions, or worse OOMs 🙃 .

However, we could increase this limit if we wanted to.
Instead of executing all the branches in parallel, we could potentially see if we can batch them instead, so internally we would still limit how many branches get executed at the same time.
I assume that even if we were to use this model, we would still want to have an upper limit on how many FORK branches we allow, just to be safe, but that limit could be much higher.

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