Skip to content

Cancel async query when keep_alive elapses #142662

@dnhatn

Description

@dnhatn

Currently, when a user launches an async query/search, the query execution time is unbounded. It can continue running well past the default keep_alive (5 days). We should cancel the running query task once the keep_alive threshold is reached. And Kibana should use a short keep_alive and periodically renew the keep_alive.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions