More retries for overflow page scan

vmware
Howard Chu 12 years ago
parent 98fe339089
commit d3f51fdcf7
  1. 2
      libraries/liblmdb/mdb.c

@ -1338,7 +1338,7 @@ none:
MDB_oldpages *mop = txn->mt_env->me_pghead; MDB_oldpages *mop = txn->mt_env->me_pghead;
if (num > 1) { if (num > 1) {
MDB_cursor m2; MDB_cursor m2;
int retry = 2, readit = 0, n2 = num-1; int retry = 20, readit = 0, n2 = num-1;
unsigned int i, j, k; unsigned int i, j, k;
/* If current list is too short, must fetch more and coalesce */ /* If current list is too short, must fetch more and coalesce */

Loading…
Cancel
Save