-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Drain responses on completion for TransportNodesAction #130303
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a7daa50
Drain responses on completion for TransportNodesAction
ywangd 6e8bfbe
Update docs/changelog/130303.yaml
ywangd 670a175
unwanted change
ywangd 4adb4a6
Use atomicBoolean
ywangd f990e43
move comment
ywangd 3d6140e
more edge case
ywangd 3d07261
notify cancel
ywangd e06c981
[CI] Auto commit changes from spotless
fb71e89
test concurrently completing and cancelling
ywangd 9dcbbd0
tweak name
ywangd 8612b1a
better assertions
ywangd db76ef8
complete l
ywangd fdf0b22
comment for loop
ywangd b521449
Merge remote-tracking branch 'origin/main' into es-128852-fix
ywangd b38783d
remove assertion for task cancellation
ywangd d40d44b
Merge remote-tracking branch 'origin/main' into es-128852-fix
ywangd 5a0f186
wording
ywangd 976203b
Merge branch 'main' into es-128852-fix
elasticmachine 6b938fa
Merge branch 'main' into es-128852-fix
elasticmachine 7c2c42d
Merge branch 'main' into es-128852-fix
elasticmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 130303 | ||
| summary: Drain responses on completion for `TransportNodesAction` | ||
| area: Distributed | ||
| type: bug | ||
| issues: [] |
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
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
Oops, something went wrong.
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.
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 don't think this'll hold in general, we could cancel the task after the completion has already passed the point of no return and then the task's cancellation flag will be set even though it completed successfully.
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.
Yeah good point, Thanks. I removed that in b38783d which also contains a few other tweaks.