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

Basic Transaction support #43

Closed
wants to merge 61 commits into from
Closed

Basic Transaction support #43

wants to merge 61 commits into from

Conversation

DejanPelzel
Copy link

@DejanPelzel DejanPelzel commented May 27, 2023

I've added basic transaction support, roughly following the Java client implementation.
There's support for:

  • Get, Delete, Put, GetForUpdate
  • Iterator
  • Committing, preparing, rolling back, and using savepoints
  • Setting transaction and transaction DB options
  • Basic transaction settings (SetName, GetName)

Changes:

  • RocksDb class was unsealed to be able to extend it with the TransactionDb class

Notes:

  • Due to testing with an old native I was unable to test the Prepare and SetName methods, as there was no entry points
  • This has not been tested in a production environment yet

This should hopefully resolve #1

@BunnyWay BunnyWay closed this by deleting the head repository Aug 20, 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 this pull request may close these issues.

transactions supported ?
2 participants