Closed WojciechMula closed 7 years ago
I cannot reproduce this exception. boost::filesystem::remove_all
is supposed to remove directories which are not empty. I did not find any semantic changes of this function in version 1.6 of boost.
Thanks for looking at this, probably it was related to access rights to the files. Please close the issue.
This happens when the log directory is on a nfs share. There is still an open file handle when boost::filesystem::remove_all is called, silly renaming happens (see http://nfs.sourceforge.net/#faq_d2), directory is not empty, thus rmdir fails, thus the exception. Fix is in progress.
Following exception is reported: "boost::filesystem::remove: Directory not empty: "test/persistency//logs/"". The exception is raised in method BufferedLogger::truncate() at line
I've checked that before calling above line the directory contains some files.
Hyrise was built with the latest boost 1.6.