benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

Defragmentation does not remove the physical file #140

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

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.