Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

Today the CancellableSingleObjectCache completes its listeners in the
thread context of the get() call that actually computes the value
which will be the correct context only if no batching took place. With
this commit we make sure to complete each listener in the context in
which it was passed to the corresponding get() call.

Today the `CancellableSingleObjectCache` completes its listeners in the
thread context of the `get()` call that actually computes the value
which will be the correct context only if no batching took place. With
this commit we make sure to complete each listener in the context in
which it was passed to the corresponding `get()` call.
@DaveCTurner DaveCTurner added backport v8.0.0 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jan 26, 2022
@elasticsearchmachine elasticsearchmachine merged commit 902ce4d into elastic:8.0 Jan 26, 2022
@DaveCTurner DaveCTurner deleted the 2022-01-26-backport-83021-8.0 branch January 26, 2022 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants