mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:04:13 +08:00
mdbx: minor reduce/lowering debug "update oldest" logging.
This commit is contained in:
parent
2b6fd968d2
commit
78170a5750
@ -5791,7 +5791,8 @@ static txnid_t mdbx_find_oldest(const MDBX_txn *txn) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (oldest != last_oldest) {
|
if (oldest != last_oldest) {
|
||||||
mdbx_notice("update oldest %" PRIaTXN " -> %" PRIaTXN, last_oldest, oldest);
|
mdbx_verbose("update oldest %" PRIaTXN " -> %" PRIaTXN, last_oldest,
|
||||||
|
oldest);
|
||||||
mdbx_tassert(txn, oldest >= lck->mti_oldest_reader.weak);
|
mdbx_tassert(txn, oldest >= lck->mti_oldest_reader.weak);
|
||||||
atomic_store64(&lck->mti_oldest_reader, oldest, mo_Relaxed);
|
atomic_store64(&lck->mti_oldest_reader, oldest, mo_Relaxed);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user