File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,10 @@ should be visited too. When split inserts the downlink to the parent, it
271271clears the F_FOLLOW_RIGHT flag in the child, and sets the NSN field in the
272272child page header to match the LSN of the insertion on the parent. If the
273273F_FOLLOW_RIGHT flag is not set, a scan compares the NSN on the child and the
274- LSN it saw in the parent. If NSN < LSN, the scan looked at the parent page
275- before the downlink was inserted, so it should follow the rightlink. Otherwise
276- the scan saw the downlink in the parent page, and will/did follow that as
277- usual.
274+ LSN it saw in the parent. If the child's NSN is greater than the LSN seen on
275+ the parent, the scan looked at the parent page before the downlink was
276+ inserted, so it should follow the rightlink. Otherwise the scan saw the
277+ downlink in the parent page, and will/did follow that as usual.
278278
279279A scan can't normally see a page with the F_FOLLOW_RIGHT flag set, because
280280a page split keeps the child pages locked until the downlink has been inserted
You can’t perform that action at this time.
0 commit comments