From: Quanah Gibson-Mount Date: Sat, 13 Sep 2014 21:21:17 +0000 (-0500) Subject: Change retry to num times 60. Testing shows that on a known dataset, this has the... X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~11^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ee99f1125a775f28ed69b06d991a43c60d894a9;p=openldap Change retry to num times 60. Testing shows that on a known dataset, this has the same growth behavior as 2.4.39, while num times 20 resulted in significant growth. --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 1eb46d3033..4ed78a740d 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -1948,7 +1948,7 @@ mdb_page_alloc(MDB_cursor *mc, int num, MDB_page **mp) #else enum { Paranoid = 0, Max_retries = INT_MAX /*infinite*/ }; #endif - int rc, retry = num * 20; + int rc, retry = num * 60; MDB_txn *txn = mc->mc_txn; MDB_env *env = txn->mt_env; pgno_t pgno, *mop = env->me_pghead;