]> git.sur5r.net Git - openldap/commitdiff
More retries for overflow page scan
authorHoward Chu <hyc@symas.com>
Fri, 30 Nov 2012 20:54:19 +0000 (12:54 -0800)
committerHoward Chu <hyc@symas.com>
Fri, 30 Nov 2012 20:54:19 +0000 (12:54 -0800)
libraries/liblmdb/mdb.c

index 61c948cc9b23f9c19a8bc6ac89e63acef20834e9..790aebe2cd7756d601549cfb974ade1e6e0c1145 100644 (file)
@@ -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 */