-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hold onto value log files while we have iterators
Makes iterators hold a refcount on the value log to prevent it from deleting value log files while we have an iterator running. They'll get deleted the first time in the future when no iterators are running. This prevents long-running iterators from inevitably failing with ErrRetry. Gets can still fail with ErrRetry and to fix that we would have to change their interface.
- Loading branch information
Sam Hughes
committed
Sep 14, 2017
1 parent
64df7f5
commit 9ed12b9
Showing
3 changed files
with
153 additions
and
16 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