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

Support creating unique top level keys for KKV data store #613

Merged
merged 11 commits into from
Nov 13, 2023
Merged

Conversation

jbirddog
Copy link
Contributor

@jbirddog jbirddog commented Nov 8, 2023

For the irb prototype there is a need to generate unique top level keys such as "study_1", "study_3" - to support this safely we add a temporary row to get an auto increment id then combine that with the provided prefix to return a new unique id. These ids are not assumed or guaranteed to be strictly incremental due to the way the secondary keys are store as individual records.

@jbirddog jbirddog merged commit 95581c2 into main Nov 13, 2023
32 checks passed
@jbirddog jbirddog deleted the alloc_kkv branch November 13, 2023 16:37
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.

2 participants