-
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.
Make value log GC pick files before on-disk head pointer.
We should only be GCing log files, which fall before the value log head pointer stored on disk in LSM (level 0 and onwards), not memtable. This change introduces an additional argument representing the head pointer that is passed through into the GC related methods, and then used to compare and pick a log file in the valueLog.pickLog() method. Fixes #265.
- Loading branch information
1 parent
e65c488
commit 37c2a90
Showing
3 changed files
with
33 additions
and
23 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