Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tylersmalley opened this issue Oct 15, 2018 · 1 comment · Fixed by #42035
Closed

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

tylersmalley opened this issue Oct 15, 2018 · 1 comment · Fixed by #42035
Labels
enhancement New value added to drive a business result Feature:Search Querying infrastructure in Kibana Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@tylersmalley
Copy link
Contributor

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.

@tylersmalley tylersmalley added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Oct 15, 2018
@timroes timroes added Feature:Search Querying infrastructure in Kibana Feature:Visualizations Generic visualization features (in case no more specific feature label is available) enhancement New value added to drive a business result labels Oct 16, 2018
@timroes timroes added :AppArch and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 27, 2019
@dmlemeshko
Copy link
Member

dmlemeshko commented May 28, 2019

I see similar problem with TSVB (master) while running automated tests in Firefox (geckodriver):
jobs:elastic+kibana+pull-request:JOB=kibana-ciGrou

After quick navigation from Times Series tab, the Metric tab still shows TImes Series data: probably because request made on 1st tab was not cancelled and it was finalized when 2nd tab is already displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Search Querying infrastructure in Kibana Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants