mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:24:13 +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));
|
memcpy(txn->mt_dbs, head.ptr_c->mm_dbs, CORE_DBS * sizeof(MDBX_db));
|
||||||
txn->mt_canary = head.ptr_v->mm_canary;
|
txn->mt_canary = head.ptr_v->mm_canary;
|
||||||
|
|
||||||
if (unlikely(env->me_stuck_meta >= 0))
|
if (likely(env->me_stuck_meta < 0) &&
|
||||||
break;
|
unlikely(meta_should_retry(env, &troika) ||
|
||||||
if (unlikely(meta_should_retry(env, &troika) ||
|
|
||||||
head.txnid < atomic_load64(&env->me_lck->mti_oldest_reader,
|
head.txnid < atomic_load64(&env->me_lck->mti_oldest_reader,
|
||||||
mo_AcquireRelease))) {
|
mo_AcquireRelease))) {
|
||||||
if (unlikely(++loop > 42)) {
|
if (unlikely(++loop > 42)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user