summaryrefslogtreecommitdiff
path: root/src/docs
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2017-03-20 16:58:17 +1100
committerAlex Gorrod <alexander.gorrod@mongodb.com>2017-03-20 16:58:17 +1100
commit89c063c2acb0f901725f0cd838503c983687a49f (patch)
tree4b8e9736d337170e524e1fd1bb1ec01dd1bde3d1 /src/docs
parent5cf626fda029c966c5c1eea7916fa7e8d12e6330 (diff)
downloadmongo-89c063c2acb0f901725f0cd838503c983687a49f.tar.gz
WT-3196 Prevent eviction in LSM primaries after the are flushed. (#3336)
Once an LSM primary is known to be on disk, we expect readers to use the checkpoint. The original page image for the primary will then be discarded by an LSM worker thread. We previously allowed the LSM primary to be evicted in between so that eviction workers can deal with cache pressure ahead of the LSM worker threads discarding the chunk. However, that leads to cases where application threads end up evicting a 100MB page, and also means that discarding the chunk needs to worry about split generations (the cause of the assertion failure here). The solution suggested here is simple: never enable eviction in LSM primaries, which also means we never need to fix up cache accounting.
Diffstat (limited to 'src/docs')
0 files changed, 0 insertions, 0 deletions