mdbx: mark the parent transaction dirty in case the undo of the geometry update failed during abortion of a nested transaction.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-03-29 18:55:01 +03:00
parent 33a9395afe
commit 2497437060

View File

@ -8725,6 +8725,7 @@ static int mdbx_txn_end(MDBX_txn *txn, const unsigned mode) {
parent->mt_geo.upper);
parent->mt_geo.now = txn->mt_geo.now;
parent->mt_geo.upper = txn->mt_geo.upper;
parent->mt_flags |= MDBX_TXN_DIRTY;
rc = MDBX_SUCCESS;
} else if (unlikely(rc != MDBX_SUCCESS)) {
mdbx_error("error %d while undo resize performed by child txn, fail "