Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ReadPageCursor shouldRetry bug with linked cursors
When we checked the lock validity using the stamp from the top-most page cursor, instead of the stamp for the given cursor. This obviously often resulted in the check failing, with no way to get out of the shouldRetry look. The shouldRetry check now currectly uses the lock stamp for the given cursor in the chain, and also makes sure to refresh the lock state of all the cursors in the chain when a restart is necessary.
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 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