Skip to content

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

Merged
elasticsearchmachine merged 1 commit intoelastic:8.18from
parkertimmins:backport/8.18/pr-121325
Jan 31, 2025
Merged

[8.18] ReindexDataStreamIndex bug in assertion caused by reference equality (#121325)#121414
elasticsearchmachine merged 1 commit intoelastic:8.18from
parkertimmins:backport/8.18/pr-121325

Conversation

@parkertimmins
Copy link
Copy Markdown
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 :StorageEngine/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
@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 :StorageEngine/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