From 24974370603939679a0d585515749d6524e99b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Tue, 29 Mar 2022 18:55:01 +0300 Subject: [PATCH] mdbx: mark the parent transaction dirty in case the undo of the geometry update failed during abortion of a nested transaction. --- src/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.c b/src/core.c index 5eb3190c..ce854830 100644 --- a/src/core.c +++ b/src/core.c @@ -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 "