mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
Allow reading freelist while working on it
The circular dependency issues appear to have been resolved. Still, need to watch closely, maybe revert this change if problems arise.
This commit is contained in:
parent
568c22c4cc
commit
21da623bf4
1 changed files with 2 additions and 0 deletions
|
|
@ -1398,6 +1398,7 @@ none:
|
|||
|
||||
mdb_cursor_init(&m2, txn, FREE_DBI, NULL);
|
||||
do {
|
||||
#ifdef MDB_PARANOID /* Seems like we can ignore this now */
|
||||
/* If on freelist, don't try to read more. If what we have
|
||||
* right now isn't enough just use new pages.
|
||||
* TODO: get all of this working. Many circular dependencies...
|
||||
|
|
@ -1406,6 +1407,7 @@ none:
|
|||
retry = 0;
|
||||
readit = 0;
|
||||
}
|
||||
#endif
|
||||
if (readit) {
|
||||
MDB_val key, data;
|
||||
pgno_t *idl, *mop2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue