From: Howard Chu Date: Fri, 30 Nov 2012 20:54:19 +0000 (-0800) Subject: More retries for overflow page scan X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~103^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3f51fdcf7e952422dc39b356ae197e29de8db73;p=openldap More retries for overflow page scan --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 61c948cc9b..790aebe2cd 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -1338,7 +1338,7 @@ none: MDB_oldpages *mop = txn->mt_env->me_pghead; if (num > 1) { MDB_cursor m2; - int retry = 2, readit = 0, n2 = num-1; + int retry = 20, readit = 0, n2 = num-1; unsigned int i, j, k; /* If current list is too short, must fetch more and coalesce */