OlegDB icon indicating copy to clipboard operation
OlegDB copied to clipboard

Transaction Support

Open qpfiffer opened this issue 9 years ago • 4 comments

General ticket for transactions. API, implementation, ideas, thoughts, etc. Transactions should have the following goals:

  • Make all operations inside a transaction atomic
  • Lock the database to prevent unwanted bullshit
  • Easy-to-use
  • Durable, which means all writes in the transaction should be synced to disk, even before the transaction is committed.

qpfiffer avatar Sep 10 '14 14:09 qpfiffer

:money_with_wings: :money_with_wings: :money_with_wings:

colby avatar Sep 10 '14 17:09 colby

Yup! :+1:

kyleterry avatar Sep 10 '14 19:09 kyleterry

Going to do multiple, I think. I'll hold all current committed transactions in a splay tree, and then all transaction commands will require a transaction ID for lookup.

qpfiffer avatar Sep 11 '14 07:09 qpfiffer

:+1: for multiple

Hamcha avatar Sep 11 '14 10:09 Hamcha