Skip to content
Snippets Groups Projects
Denis Smirnov's avatar
Denis Smirnov authored
When vinyl space is dropped, its files are left on the file system
until GC removes them. At the moment GC removes only run files,
but not the root directory. These empty directories are never
removed and occupy 4KB on ext-family file systems each. In a case
of many dropped vinyl spaces it can become a serious disk space
and inode leak. Current commit makes gc always remove root directory
if there are no runs in it.

Closes #8441

NO_DOC=bugfix

(cherry picked from commit ee3c1964)
d0d7746d
History
Name Last commit Last update