TID generator is not collision-safe #16
Labels
No labels
auth
bug
composer
correctness
database
durability
enhancement
feeds
interactions
notifications
performance
reliability
safety
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starsetbyte/peregrine#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Counter wraps every 1,024 calls. No last-emitted payload, no clock rollback compensation.
Proposed fix
CAS-backed logical clock: max(candidate, last+1), persisted clock identifier.
Source: Codex code review — technical #1