Skip to content

[8.1] Avoid null threadContext in ResultDeduplicator (#84093)#84097

Merged
elasticsearchmachine merged 1 commit intoelastic:8.1from
DaveCTurner:backport/8.1/pr-84093
Feb 17, 2022
Merged

[8.1] Avoid null threadContext in ResultDeduplicator (#84093)#84097
elasticsearchmachine merged 1 commit intoelastic:8.1from
DaveCTurner:backport/8.1/pr-84093

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Backports the following commits to 8.1:

In elastic#84038 we added a dependency on having a valid `threadContext` in a
repository, but some tests use mocking and may end up with a `null`
here. This seems not to be a problem in recent branches but causes
failures in 8.0. With this commit we ensure that we always have a valid
`threadContext` to avoid any problems.
@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Feb 17, 2022
@elasticsearchmachine elasticsearchmachine merged commit 5083e20 into elastic:8.1 Feb 17, 2022
@DaveCTurner DaveCTurner deleted the backport/8.1/pr-84093 branch February 17, 2022 12:34
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.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants