Skip to content

[Reporting CSV Export] Attempt to complete the report successfully even if the scroll_id can not be cleared in ES #75594

@tsullivan

Description

@tsullivan

Enhancement:

When Reporting is done scrolling through searches to build the CSV export, it clears the scroll ID in Elasticsearch to free the memory. If Elasticsearch has lost context of the scroll_id for some reason, it will return a 404 response.

Currently, any error encountered in communications with Elasticsearch will cause the CSV job to fail. However, a 404 error that happens when trying to clear the scroll ID could possibly be safely ignored, as long as a warning message is logged about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions