Skip to content

[8.18] ReindexDataStreamIndex bug in assertion caused by reference equality (#121325) #121414

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

Conversation

parkertimmins
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

…lastic#121325)

Assertion was using reference equality on two boxed longs. So assertion could produce false positives. Change to Objects.equals to check value and avoid null check.

(cherry picked from commit eeb745c)
@parkertimmins parkertimmins added :Data Management/Data streams Data streams and their lifecycles auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.18.0 and removed v8.18.1 labels Jan 31, 2025
@elasticsearchmachine elasticsearchmachine merged commit 1df7f45 into elastic:8.18 Jan 31, 2025
15 checks passed
@parkertimmins parkertimmins deleted the backport/8.18/pr-121325 branch January 31, 2025 16:09
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 :Data Management/Data streams Data streams and their lifecycles v8.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants