summaryrefslogtreecommitdiff
path: root/dist/flags.py
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-03-07 15:15:07 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-03-07 15:15:07 -0500
commit510aba385706645d76d6836689160c1705770dfa (patch)
treee2483a49569ee28f2a854f07f079af80122838ed /dist/flags.py
parentb7fa865a6e8e31da6ce4961dd4a26fc98b3476ca (diff)
downloadmongo-510aba385706645d76d6836689160c1705770dfa.tar.gz
Simplify __rec_review: there's no eviction walk flag left, so looking
for it in the stack of parent pages is pretty pointless. Lock internal pages during checkpoint to ensure that we never see a page being split. I don't like holding this lock, but I don't see an alternative at the moment -- it's really unlikely we'd see a split because you have to write dirty pages to cause splits, and checkpoints have already turned off dirty page writes, but the split could race with checking the checkpoint flag. Don't set WT_SKIP_UPDATE_RESTORE on anything other than the top-level eviction page (I don't see why it wouldn't work, but it's pointless). Rename WT_EVICTION_SERVER_LOCKED to WT_EVICTION_LOCKED, there's no server anymore.
Diffstat (limited to 'dist/flags.py')
-rw-r--r--dist/flags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/flags.py b/dist/flags.py
index 0c1a176f378..ff0c4a63105 100644
--- a/dist/flags.py
+++ b/dist/flags.py
@@ -41,7 +41,7 @@ flags = {
'READ_WONT_NEED',
],
'rec_write' : [
- 'EVICTION_SERVER_LOCKED',
+ 'EVICTION_LOCKED',
'SKIP_UPDATE_ERR',
'SKIP_UPDATE_RESTORE'
],