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

replace ID with UID #361

Open
allanbowe opened this issue May 1, 2023 · 0 comments · May be fixed by #363
Open

replace ID with UID #361

allanbowe opened this issue May 1, 2023 · 0 comments · May be fixed by #363
Assignees

Comments

@allanbowe
Copy link
Member

In addressing #359 it was discovered that the sequencing utility was broken in COSMODB (set every id to 1)

In general, sequencing (surrogate key) isn't a great approach as it provides a bottleneck in generating the latest id (and avoiding RACE conditions)

For scalability, and to simplify the process, we should switch away from IDs and use UUIDs in the following schemas:

  • Users
  • Groups
  • Permissions
@sabhas sabhas linked a pull request May 9, 2023 that will close this issue
5 tasks
@YuryShkoda YuryShkoda self-assigned this Aug 28, 2023
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 a pull request may close this issue.

2 participants