Skip to content

Backport fix for RestCancellableNodeClient close listener #130374

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

Conversation

nicktindall
Copy link
Contributor

@nicktindall nicktindall commented Jul 1, 2025

Backport #128085 and #129294 to 7.17

Superficially it seems like these bugs could have caused the failure in #130372

I must admit I didn't look too closely, but these fixes are missing. The failure messages look different, but it could just be a different manifestation.

Closes: #130372

…lastic#129294)

Fixes a race condition in testConcurrentExecuteAndClose() where
awaitClose() is called before addCloseListener() has been called,
resulting in a situation where closeListener is never completed and
the closeLatch is never pulled.

Closes elastic#129121

(cherry picked from commit 9a8e503)
@nicktindall nicktindall closed this Jul 1, 2025
@nicktindall nicktindall deleted the 7.17_backport_cancellable_node_client_fix branch July 1, 2025 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants