mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:34:14 +08:00
mdbx: не обходим проверку когерентности в режиме восстановления.
This commit is contained in:
parent
f0c43fb24a
commit
37867a0b84
@ -8782,9 +8782,8 @@ static int txn_renew(MDBX_txn *txn, const unsigned flags) {
|
||||
memcpy(txn->mt_dbs, head.ptr_c->mm_dbs, CORE_DBS * sizeof(MDBX_db));
|
||||
txn->mt_canary = head.ptr_v->mm_canary;
|
||||
|
||||
if (unlikely(env->me_stuck_meta >= 0))
|
||||
break;
|
||||
if (unlikely(meta_should_retry(env, &troika) ||
|
||||
if (likely(env->me_stuck_meta < 0) &&
|
||||
unlikely(meta_should_retry(env, &troika) ||
|
||||
head.txnid < atomic_load64(&env->me_lck->mti_oldest_reader,
|
||||
mo_AcquireRelease))) {
|
||||
if (unlikely(++loop > 42)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user