mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-31 11:08:22 +08:00
mdbx: вывод номера транзакции при ситуации зацикливания внутри gc_update()
.
This commit is contained in:
parent
77a35608f6
commit
2b5d7ed29a
@ -611,7 +611,8 @@ retry:
|
|||||||
MDBX_ENABLE_REFUND));
|
MDBX_ENABLE_REFUND));
|
||||||
tASSERT(txn, dpl_check(txn));
|
tASSERT(txn, dpl_check(txn));
|
||||||
if (unlikely(/* paranoia */ ctx->loop > ((MDBX_DEBUG > 0) ? 12 : 42))) {
|
if (unlikely(/* paranoia */ ctx->loop > ((MDBX_DEBUG > 0) ? 12 : 42))) {
|
||||||
ERROR("too more loops %u, bailout", ctx->loop);
|
ERROR("txn #%" PRIaTXN " too more loops %u, bailout", txn->txnid,
|
||||||
|
ctx->loop);
|
||||||
rc = MDBX_PROBLEM;
|
rc = MDBX_PROBLEM;
|
||||||
goto bailout;
|
goto bailout;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user