losfair / mvsqlite

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

Commit group rollback does not release lock #13

Closed losfair closed 2 years ago

losfair commented 2 years ago
sqlite> begin;
sqlite> create table some_db.t1 (k text, v text);
sqlite> select mv_commitgroup_begin();
sqlite> commit;
sqlite> select mv_commitgroup_rollback();
sqlite> begin;
sqlite> create table some_db.t1 (k text, v text);
  2022-08-05T16:12:38.530509Z ERROR mvsqlite::vfs: failed to acquire lock: hold by another connection
    at mvsqlite/src/vfs.rs:383

Error: database is locked