Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GB+Tree tests run with adversarial page cache
also included are fixes for issues exposed by this added testing: - Removed Layout#read/writeMetaData because there's no need for it and it was implemented in the wrong way w/ regards to shouldRetry - KeySearch#search doesn't throw exception on unexpected end result, instead uses one of the high bits to signal success/failure. - GSPP#pointerState no longer throws exception on unexpected generation because it was done inside shouldRetry loop. Now instead reports BROKEN state. - SeekCursor asserts shouldRetry is true after unexpected read, otherwise throws exception about tree inconsistency. - Fixes a bug in AdversarialWritePageCursor#copyTo where this wasn't allowed previously, due to an instanceof check.
- Loading branch information
Showing
13 changed files
with
249 additions
and
96 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
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
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
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
Oops, something went wrong.