Skip to content
Snippets Groups Projects
Commit d2f2eae6 authored by Keith Bostic's avatar Keith Bostic Committed by Alex Gorrod
Browse files

WT-3373 Access violation due to a bug in internal page splitting (#3478)

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.
parent 89049da5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment