You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Since a key can not be removed from the key-value map, transactions are going to end up ugly.
The basic idea so far is:
Use a transaction_dir
Create a temp map inside dir with uuid+timestamp
Add rows to temp map
On commit, we will then loop through temp map and add to new map
Finally we call flush() to push to disk of final map
The problems are for group commits, we if need to rollback after one table has already committed we must now go back and set the delete markers. This means rollbacks will touch every single row, and they are not atomic either.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add transaction support. Items should be built and stored until commit, then added to the map. We also should only flush the map on commit.
The text was updated successfully, but these errors were encountered: