Skip to content

Ensure unique identity values within identity managed collections#4333

Merged
rockfordlhotka merged 1 commit into
mainfrom
bugfix/3581-fixes-graphmerger-bug
Nov 21, 2024
Merged

Ensure unique identity values within identity managed collections#4333
rockfordlhotka merged 1 commit into
mainfrom
bugfix/3581-fixes-graphmerger-bug

Conversation

@StefanOssendorf

@StefanOssendorf StefanOssendorf commented Nov 20, 2024

Copy link
Copy Markdown
Contributor

Ensures that before adding an item to a collection with identity management the next identity value will be unique within the collection.

Fixes #3581
The actual problem isn't the graph merger but the identity values assigned beforehand. In the reported case the fetch+add didn't generate unique identity values within one collection.

My main concern with this fix would be a performance impact because now each insert has to verify it gets an unique identity value. But I couldn't come up with another solution because I can't know if an insert is harmless or not :-/

…gement the next identity value will be unique within the collection.

Fixes #3581
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Serious GraphMerger bug with 8.2.7

2 participants