From d3f51fdcf7e952422dc39b356ae197e29de8db73 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 30 Nov 2012 12:54:19 -0800 Subject: [PATCH] More retries for overflow page scan --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 61c948c..790aebe 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 */