Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix refreshAfterWrite racing with a removed entry (fixes #715)
When a read triggers a refresh, it captures the key and value into local variables and performs validation checks. This should have included verifying that the entry is still alive (vs retired, dead). Otherwise, the key may be an internal sentinel and the refresh will fail. This has no harmful effects due to being logged and swallowed.
- Loading branch information
Showing
4 changed files
with
66 additions
and
6 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