losfair/mvsqlite

Commit group rollback does not release lock

losfair opened this issue · 0 comments

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