summaryrefslogtreecommitdiff
path: root/src/include/cursor.i
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-11-08 13:44:22 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-11-08 13:44:22 +1100
commit66fdc97f1f20a2479971afc242a8e60dd37135cb (patch)
tree3a0ab07bc9822a21ff759ddadbe4faa8301213d4 /src/include/cursor.i
parent946f7b408bc62915ec6add3380a17b684f7698e8 (diff)
downloadmongo-66fdc97f1f20a2479971afc242a8e60dd37135cb.tar.gz
Don't block the oldest reader in the system forever. Try harder to evict when we aren't keeping the oldest ID pinned.
refs #754
Diffstat (limited to 'src/include/cursor.i')
-rw-r--r--src/include/cursor.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cursor.i b/src/include/cursor.i
index 477b879cfd8..f7685e903a6 100644
--- a/src/include/cursor.i
+++ b/src/include/cursor.i
@@ -82,7 +82,7 @@ __cursor_leave(WT_CURSOR_BTREE *cbt)
* but the one we just closed might help eviction make progress.
*/
if (F_ISSET(&session->txn, TXN_AUTOCOMMIT))
- WT_RET(__wt_cache_full_check(session, 1));
+ WT_RET(__wt_cache_full_check(session));
return (0);
}