losfair / mvsqlite

Distributed, MVCC SQLite that runs on FoundationDB.
https://github.com/losfair/mvsqlite/wiki
Apache License 2.0
1.36k stars 39 forks source link

Add back commit groups #23

Open losfair opened 1 year ago

losfair commented 1 year ago

The commit group feature that allows multi-database transactions is removed from the latest version, because an elegant API design is not found. SQLite doesn't give us a way to associate a VFS with its database connection, so we had to use thread-local state. This causes confusion for the user, and does not work with languages that aggressively reschedules coroutines like Go.