-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve delete compaction logic
Improve compaction via OptDeleteCompact. Do not fail when compaction is requested on a data object that is not at the end of the data section. When compaction is requested, always calculate the end of the data section based on the in-use descriptors.
- Loading branch information
Showing
8 changed files
with
86 additions
and
53 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+31.4 KB
...sif/testdata/TestDeleteObject/Zero.golden → ...stdata/TestDeleteObject/TwoCompact.golden
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+31.4 KB
...tdata/TestDeleteObject/ZeroCompact.golden → ...ta/TestDeleteObject/TwoZeroCompact.golden
Binary file not shown.