Skip to content

Do not check self references in metric agg per document #33593

@jonaslan

Description

@jonaslan

#31044 introduced ensureNoSelfReference on the _agg object in scripted metric aggregations.
It would be nice if there was a switch to disable the it. Upgrading to 6.4 caused something around 20x performance degradation for us. And downgrading was no fun.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions