Even though the defragmentation implemented in the MovablePersistentStorage works, somehow it does not remove the physical file from the disk. It means that the unitsWithFreeSpace data structure is updated correctly, and every key-value pair is stored in the defragmented storage units. But those physical files are not removed, whose content has been moved to another storage unit.
Even though the defragmentation implemented in the
MovablePersistentStorage
works, somehow it does not remove the physical file from the disk. It means that theunitsWithFreeSpace
data structure is updated correctly, and every key-value pair is stored in the defragmented storage units. But those physical files are not removed, whose content has been moved to another storage unit.