-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Do not look over TaskCancelledException when looking at failures when updating CCS info for clusters
#125206
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
Do not look over TaskCancelledException when looking at failures when updating CCS info for clusters
#125206
Conversation
|
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
| } | ||
|
|
||
| private static boolean isTaskCancelledException(Exception e) { | ||
| static boolean isTaskCancelledException(Exception e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say, let's move this method to ExceptionsHelper itself, since we need to call it in more than one place. It's a little awkward for TransportSearchAction to depend on methods in AbstractSearchAsyncAction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for catching this.
💔 Backport failed
You can use sqren/backport to manually backport by running |
…en updating CCS info for clusters (elastic#125206) Do not look over `TaskCancelledException` when looking at failures when updating CCS info for clusters
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…en updating CCS info for clusters (elastic#125206) Do not look over `TaskCancelledException` when looking at failures when updating CCS info for clusters (cherry picked from commit 0350a48) # Conflicts: # muted-tests.yml
…res when updating CCS info for clusters (#125206) (#125237) * Do not look over `TaskCancelledException` when looking at failures when updating CCS info for clusters (#125206) Do not look over `TaskCancelledException` when looking at failures when updating CCS info for clusters (cherry picked from commit 0350a48) # Conflicts: # muted-tests.yml * Fix conflict
…en updating CCS info for clusters (elastic#125206) Do not look over `TaskCancelledException` when looking at failures when updating CCS info for clusters
…en updating CCS info for clusters (elastic#125206) Do not look over `TaskCancelledException` when looking at failures when updating CCS info for clusters
We're using
skipUnavailablewhen looking at failures. However, we should not be looking overTaskCancelledExceptionand more importantly, not wrap it. Fixes #108061.