diff --git a/src/core.c b/src/core.c index 7978fa14..4102f045 100644 --- a/src/core.c +++ b/src/core.c @@ -6061,8 +6061,11 @@ no_loose: done: if (unlikely(mp == nullptr)) return MDBX_SUCCESS; - if (unlikely(txn->tw.dirtyroom < 1)) + if (unlikely(txn->tw.dirtyroom < 1)) { + mdbx_error("Dirtyroom is depleted, DPL length %u", + txn->tw.dirtylist->length); return MDBX_TXN_FULL; + } mdbx_ensure(env, pgno >= NUM_METAS); if (env->me_flags & MDBX_WRITEMAP) { np = pgno2page(env, pgno);