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

change_queue_entry.id: Autoincrement -> change_queue_entry.id: UUIDv7 #70

Open
samuelstroschein opened this issue Sep 3, 2024 — with Linear · 1 comment
Open

Comments

Copy link
Member

Context

The change queue id is an auto incrementing id.

I assume that the auto incrementing id will lead to problems down the road. The change queue can't be shared with the server/clients because the ids would conflict.

Proposal

Use UUIDv7 for ids in the change queue.

  • sorting remains possible just like id autoincrement
  • works in a distributed system
Copy link
Member Author

@jan.johannes was the reason to use Autoincrement to have sorting?

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

No branches or pull requests

1 participant