Skip to content
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

Remove all blocking on Listenable*Future #94411

Merged

Conversation

DaveCTurner
Copy link
Contributor

There are almost no places where we block a thread to wait on the result of a ListenableFuture or ListenableActionFuture, and the few places that do so can trivially use a PlainActionFuture instead. This commit removes all blocking on ListenableFuture or ListenableActionFuture.

Relates #94386

There are almost no places where we block a thread to wait on the result
of a `ListenableFuture` or `ListenableActionFuture`, and the few places
that do so can trivially use a `PlainActionFuture` instead. This commit
removes all blocking on `ListenableFuture` or `ListenableActionFuture`.

Relates elastic#94386
@DaveCTurner DaveCTurner added >non-issue :Core/Infra/Core Core issues without another label v8.8.0 labels Mar 8, 2023
@DaveCTurner DaveCTurner requested a review from thecoop March 8, 2023 21:17
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Mar 8, 2023
Copy link
Contributor

@arteam arteam left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

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

LGTM.

@DaveCTurner DaveCTurner merged commit 343225b into elastic:main Mar 10, 2023
@DaveCTurner DaveCTurner deleted the 2023-03-08-no-blocking-on-listenables branch March 10, 2023 16:29
saarikabhasi pushed a commit to saarikabhasi/elasticsearch that referenced this pull request Apr 10, 2023
There are almost no places where we block a thread to wait on the result
of a `ListenableFuture` or `ListenableActionFuture`, and the few places
that do so can trivially use a `PlainActionFuture` instead. This commit
removes all blocking on `ListenableFuture` or `ListenableActionFuture`.

Relates elastic#94386
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants