[Backport 2.x] Stop processing search requests when _msearch is canceled#17119
Merged
[Backport 2.x] Stop processing search requests when _msearch is canceled#17119
Conversation
Prior to this fix, the _msearch API would keep running search requests even after being canceled. With this change, we explicitly check if the task has been canceled before kicking off subsequent requests. --------- Signed-off-by: Michael Froh <froh@amazon.com> (cherry picked from commit 77e91c2) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta
approved these changes
Jan 24, 2025
Contributor
|
❌ Gradle check result for fe5b9ba: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Contributor
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #17119 +/- ##
============================================
+ Coverage 71.90% 72.00% +0.10%
- Complexity 65776 65874 +98
============================================
Files 5325 5325
Lines 306417 306459 +42
Branches 44681 44698 +17
============================================
+ Hits 220335 220677 +342
+ Misses 67715 67420 -295
+ Partials 18367 18362 -5 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport 77e91c2 from #17005.