Skip to content

[Enhancement] PPL Alerting: active alerts searches don't paginate/scroll #1979

@toepkerd

Description

@toepkerd

Is your feature request related to a problem?
In PPL Alerting's current alerts expiration and postIndex/postDelete logic, when searching the active alerts v2 index for alerts to be moved or expired, a search call with size = 10000 is run. This capped search does not cleanly handle the case that there are more than 10000 alerts that need expiring or moving.

What solution would you like?
Search calls should scroll or otherwise account for pagination when searching active alerts index. This can be done with some kind of a BulkByScroll request. This way, all alerts that need to be expired, moved, or deleted in that given interval, are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions