Skip to content

NUIDGenerator - refactor init to handle multithreading#4641

Merged
jlhughes merged 2 commits intodevelopmentfrom
NUIDGeneratorInitSync
Nov 28, 2025
Merged

NUIDGenerator - refactor init to handle multithreading#4641
jlhughes merged 2 commits intodevelopmentfrom
NUIDGeneratorInitSync

Conversation

@jlhughes
Copy link
Collaborator

@jlhughes jlhughes commented Nov 28, 2025

Refactor init to handle multithreading.
The DAO loading is lazy and internal to the service, so not protected by normal CSpecFactory logic. Large DAOs can takes minutes to load and some UIDs are shared across DAOs resulting in multiple threads requesting 'next' and triggering init.

  • Tested and running in production.

…ng is lazy and internal to the service, so not protected by normal CSpecFactory logic. Large DAOs can takes minutes to load and some UIDs are shared across DAOs resulting in muiltiple threads requesting 'next' and triggering init
@jlhughes jlhughes merged commit ebdb50e into development Nov 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants