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

Add DeleteAllByPrefix and PutMultipleVersions API endpoints #47

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

fm3
Copy link
Member

@fm3 fm3 commented Dec 16, 2024

Needed for the migration of scalableminds/webknossos#7917

Adds two new API endpoints

  • DeleteAllByPrefix
  • PutMultipleVersions

And corresponding tests.

This is not exactly what #39 is about, but it goes in a similar direction.

Note that I did not make use of RocksDB transaction management here yet, for the sake of simplicity and the reasons discussed in #39 (comment)

@fm3 fm3 self-assigned this Dec 16, 2024
@fm3 fm3 changed the title WIP: Add more API calls to deal with multiple keys at once WIP: Add more API calls to deal with multiple keys/versions at once Dec 16, 2024
@fm3 fm3 marked this pull request as ready for review December 16, 2024 13:47
@fm3 fm3 changed the title WIP: Add more API calls to deal with multiple keys/versions at once Add more API calls to deal with multiple keys/versions at once Dec 16, 2024
@fm3 fm3 requested a review from normanrz December 16, 2024 13:48
@fm3 fm3 changed the title Add more API calls to deal with multiple keys/versions at once Add DeleteAllByPrefix and PutMultipleVersions API endpoints Dec 16, 2024
@fm3 fm3 merged commit a423a48 into master Dec 16, 2024
1 check passed
@fm3 fm3 deleted the multi-delete-multi-put branch December 16, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants