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

Allow allocating a new top level key with prefixed id for the KKV data store #604

Open
jbirddog opened this issue Nov 3, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@jbirddog
Copy link
Contributor

jbirddog commented Nov 3, 2023

Stems from discussions with @calexh-sar - in the IRB prototype for example it would be nice for the top level key in a kkv data store to be study_123 - but how to atomically get the next id to use as the top level key before insertion of the record? If a new script was added that allowed for something like new_id = allocate_kkv_top_level_key("study_") then it could safely be done by using the id of the newly inserted row, which would contain minimal placeholder information. Exact syntax is not defined.

@github-project-automation github-project-automation bot moved this to New Issue in SpiffWorkflow Nov 3, 2023
@jbirddog jbirddog moved this from New Issue to In Progress in SpiffWorkflow Nov 8, 2023
@jbirddog jbirddog self-assigned this Nov 8, 2023
@jbirddog jbirddog added this to the IRB Prototype milestone Nov 8, 2023
@jbirddog
Copy link
Contributor Author

Confirmed with @calexh-sar that this is working.

@jbirddog jbirddog moved this from In Progress to Documentation in SpiffWorkflow Nov 20, 2023
@jbirddog jbirddog removed their assignment Mar 18, 2024
@madhurrya
Copy link
Contributor

@calexh-sar @usama9500 Is this already documented? Shall I close this?

@calexh-sar calexh-sar added the documentation Improvements or additions to documentation label Aug 22, 2024
@calexh-sar
Copy link
Contributor

I defer to @usama9500 if this has been documented.

@usama9500
Copy link
Collaborator

The exact use case is not documented, but KKV data store is documented here: #1360

You can leave it open, I will discuss with @jbirddog on the exact information to be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Documentation
Development

No branches or pull requests

4 participants