Skip to content

Avoid database ID collisions within a single clock tick - #312

Merged
bliatun-code merged 1 commit into
mainfrom
codex/quality-303-09
Nov 27, 2026
Merged

bliatun-code merged 1 commit into
mainfrom
codex/quality-303-09

Conversation

@bliatun-code

Copy link
Copy Markdown
Owner

Add a random suffix to newly generated database IDs so parallel writes with the same clock reading receive distinct IDs. Existing IDs require no migration. Tested 1,024 IDs at the same timestamp.

@bliatun-code
bliatun-code merged commit 4217854 into main Nov 27, 2026
10 checks passed
@bliatun-code
bliatun-code deleted the codex/quality-303-09 branch November 27, 2026 07:50
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.

1 participant