mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
ITS#9524 fix loose page tracking
Fixes commit 0e17ba43a818f6bdab7759586e247bae12692c25, loose pages that have been dropped from dirty list should no longer be counted.
This commit is contained in:
parent
ad3f8367b0
commit
97e7e9ac79
@ -3717,7 +3717,6 @@ mdb_freelist_save(MDB_txn *txn)
|
||||
unsigned x;
|
||||
if ((rc = mdb_midl_need(&txn->mt_free_pgs, txn->mt_loose_count)) != 0)
|
||||
return rc;
|
||||
lost_loose = txn->mt_loose_count;
|
||||
for (; mp; mp = NEXT_LOOSE_PAGE(mp)) {
|
||||
mdb_midl_xappend(txn->mt_free_pgs, mp->mp_pgno);
|
||||
/* must also remove from dirty list */
|
||||
|
Loading…
x
Reference in New Issue
Block a user