diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-11-03 08:02:55 +1100 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-11-03 08:02:55 +1100 |
commit | a3019fcc09f00dd104efb675dd3df4bc564e08bb (patch) | |
tree | 1cf90e51e36e7e7e91411b40ca0e565a27a53abc | |
parent | cf66dff864692c8821d14bdc7be754a770003df0 (diff) | |
download | mongo-a3019fcc09f00dd104efb675dd3df4bc564e08bb.tar.gz |
WT-2192 Update a comment to describe a race condition better.
-rw-r--r-- | src/evict/evict_page.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/evict/evict_page.c b/src/evict/evict_page.c index 2c0312a6f60..e49098e90db 100644 --- a/src/evict/evict_page.c +++ b/src/evict/evict_page.c @@ -394,7 +394,9 @@ __evict_review( /* * Retrieve the modified state of the page. This must happen after the * check for evictable internal pages otherwise there is a race where a - * page could be marked modified whilst performing the check. + * page could be marked modified due to a child being transitioned to + * WT_REF_DISK after the modified check and before we visited the ref + * while walking the parent index. */ modified = __wt_page_is_modified(page); |