Skip to content

Ignore responses for previous query when filter/query has changed #24058

@tylersmalley

Description

@tylersmalley

When querying data, it's possible for us to receive out of order responses. Take the following example; when an expensive query (A) is issued, the filter is updated resulting in query (B) - B can return before A, but A will be the last result to render.

This is more low-hanging fruit mentioned in #17844 (comment). In that issue it describes canceling the query using the ES tasks API. I feel that simply ignoring the canceled response is a good first step in improving this use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:SearchQuerying infrastructure in KibanaFeature:VisualizationsGeneric visualization features (in case no more specific feature label is available)enhancementNew value added to drive a business result

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions