Skip to content

[9.0] ReindexDataStreamIndex bug in assertion caused by reference equality (#121325)#121413

Merged
parkertimmins merged 2 commits intoelastic:9.0from
parkertimmins:backport/9.0/pr-121325
Feb 3, 2025
Merged

[9.0] ReindexDataStreamIndex bug in assertion caused by reference equality (#121325)#121413
parkertimmins merged 2 commits intoelastic:9.0from
parkertimmins:backport/9.0/pr-121325

Conversation

@parkertimmins
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.0:

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 merged commit 1bb7154 into elastic:9.0 Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :StorageEngine/Data streams Data streams and their lifecycles v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants