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:15 +1000 |
commit | d2f2eae6d7718a53ac5bacf7141773ee0696f3c6 (patch) | |
tree | 7ec8263c7332b335b048daeb17b42ff5ff40d827 /api | |
parent | 89049da5f36d57585cccac275382f7fe8fc472e2 (diff) | |
download | mongodb-3.4.6.tar.gz |
WT-3373 Access violation due to a bug in internal page splitting (#3478)mongodb-3.4.8mongodb-3.4.7mongodb-3.4.6
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 'api')
0 files changed, 0 insertions, 0 deletions