-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WT-2316: WT_CURSOR.prev out-of-order returns, fix a split race.
Simplify the __page_descend() function, it only needs a WT_PAGE, it doesn't need the WT_REF for the page, hopefully that makes it easier to understand. Add comments to each of the races we have to address, try and describe the case each check is intended to fix.
- Loading branch information
1 parent
70c8b78
commit f1977bb
Showing
2 changed files
with
146 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Minor: update the comment in line 176 since we are not passing in a ref now as input.