diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2017-06-26 03:04:00 -0400 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2017-06-27 10:44:44 +1000 |
commit | b8f590dea0400666ef26e21adf11c5997bb5ef1b (patch) | |
tree | 96df6d8f34e69ee9a3bfe257157e885ddc599788 /lang | |
parent | 534677a2eab033bf817588704417bb25f0d19551 (diff) | |
download | mongodb-3.2.15.tar.gz |
WT-3373 Access violation due to a bug in internal page splitting (#3478)mongodb-3.2.16mongodb-3.2.15
When acquiring a lock on our parent internal page, we use the WT_REF.home
field to reference our parent page. As a child of the parent page, we
prevent its eviction, but that's a weak guarantee. If the parent page
splits, and our WT_REF were to move with the split, the WT_REF.home field
might change underneath us and we could race, and end up attempting to
access an evicted page. Set the session page-index generation so if the
parent splits, it still can't be evicted.
Diffstat (limited to 'lang')
0 files changed, 0 insertions, 0 deletions