Transaction Support
qpfiffer opened this issue · comments
Quinlan Pfiffer commented
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.
Colby Olson commented
💸 💸 💸
Kyle Terry commented
Yup! 👍
Quinlan Pfiffer commented
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.
ittaG ordnasselA commented
👍 for multiple