KeyDB
KeyDB copied to clipboard
[BUG] KeyDB never releases space from the Flash Storage
Describe the bug
KeyDB never releases space from the Flash storage. Despite manually deleting keys, the amount of used storage does not significantly decrease.
To reproduce
- Run KeyDB with Flash storage enabled.
- Insert a large number of keys into the database.
- Manually delete a portion of the keys.
- Check the storage usage; the space occupied on the disk does not decrease as expected.
Expected behavior
After deleting keys, the amount of storage space used by KeyDB should decrease significantly, reflecting the removal of the data.
Additional information
The storage engine is configured to use Flash. I’ve ensured that the keys were deleted correctly and are no longer accessible. However, the storage space used does not change, even after multiple manual deletions. Version of KeyDB being used: 6.3.4 OS: Ubuntu 20.04