Skip to content
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

[LocalID] Concurrent submission of same localID issue #2029

Open
mreyescdl opened this issue Sep 20, 2024 · 1 comment
Open

[LocalID] Concurrent submission of same localID issue #2029

mreyescdl opened this issue Sep 20, 2024 · 1 comment

Comments

@mreyescdl
Copy link
Contributor

When submitting multiple new objects with the same local ID concurrently, the following can occur:

  • Different primary IDs can get bound to the same Local ID

This occurs due to the Local ID not being locked during the DB update.
A fix would be for either Ingest or the Local ID service to create a Zookeeper lock based on OWNER + LOCAL ID before the update and release after the update

@elopatin-uc3
Copy link
Contributor

Local ID integration test can trigger this error. If local id exists previously, error is not triggered. Error can be triggered after the stage cleanup script runs on Fridays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants