Skip to content

Conversation

@gmarouli
Copy link
Contributor

@gmarouli gmarouli commented Jan 17, 2022

Discard intermediate results when a stats request is cancelled.

Next tasks:

  • Discuss approach
  • Improve understanding of _cluster/state request
  • Check completeness, did we cover all the endpoints that cause problems
  • Implement tests
  • Pass tests

Resolves #82337

@gmarouli gmarouli added :Data Management/Stats Statistics tracking and retrieval APIs >bug Team:Data Management Meta label for data/management team and removed v8.1.0 labels Jan 17, 2022
@gmarouli
Copy link
Contributor Author

@elasticsearchmachine update branch

@gmarouli
Copy link
Contributor Author

@elasticmachine update branch

@gmarouli
Copy link
Contributor Author

@elasticmachine update branch

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 2, 2022

@elasticmachine update branch

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 2, 2022

@elasticmachine run elasticsearch-ci/packaging-tests-unix-sample

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 3, 2022

@elasticmachine run elasticsearch-ci/part-1

@gmarouli gmarouli added the v8.2.0 label Feb 3, 2022
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good to me, I left an optional comment

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @gmarouli, I left a handful of small comments.

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 9, 2022

@dakrone & @DaveCTurner Thank you very much for your comments!

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 9, 2022

@elasticmachine run elasticsearch-ci/packaging-tests-unix-sample

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 9, 2022

@elasticmachine run elasticsearch-ci/packaging-tests-windows-sample

@gmarouli
Copy link
Contributor Author

gmarouli commented Feb 9, 2022

@elasticmachine update branch

@gmarouli
Copy link
Contributor Author

@elasticmachine update branch

@gmarouli
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/bwc

@gmarouli gmarouli merged commit d4655e8 into elastic:master Feb 10, 2022
@gmarouli gmarouli deleted the stats-discard-intermediate-results-on-cancellation branch February 10, 2022 10:59
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Oct 23, 2023
Today we rely on an `isRunning` check to check for task cancellation,
but since elastic#82685 we can actively record the failure arising from the
cancellation using a `CancellationListener`.

Closes elastic#101197
DaveCTurner added a commit that referenced this pull request Oct 24, 2023
Today we rely on an `isRunning` check to check for task cancellation,
but since #82685 we can actively record the failure arising from the
cancellation using a `CancellationListener`.

Closes #101197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Data Management/Stats Statistics tracking and retrieval APIs Team:Data Management Meta label for data/management team v8.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stats actions should discard intermediate state on cancellation

5 participants