diff --git a/arangod/StorageEngine/MMFilesEngine.cpp b/arangod/StorageEngine/MMFilesEngine.cpp index 570eb070ba..6f73ab7ff9 100644 --- a/arangod/StorageEngine/MMFilesEngine.cpp +++ b/arangod/StorageEngine/MMFilesEngine.cpp @@ -748,26 +748,7 @@ void MMFilesEngine::dropCollection(TRI_vocbase_t* vocbase, arangodb::LogicalColl } LOG(ERR) << "cannot rename directory of dropped collection '" << name << "' from '" << collection->path() << "' to '" - << newFilename << "': " << TRI_errno_string(res) << systemError - << ", source exists: " << TRI_IsDirectory(collection->path().c_str()) - << ", dest exists: " << TRI_IsDirectory(newFilename.c_str()) - << ", status: " << collection->statusString(); - - std::vector files = TRI_FilesDirectory(collection->path().c_str()); - LOG(ERR) << "ALL FILES: " << files; - for (auto const& f : files) { - bool isDir = TRI_IsDirectory(f.c_str()); - std::string full = basics::FileUtils::buildFilename(collection->path(), f); - LOG(ERR) << "- found: " << f << ", IS DIR: " << isDir; - if (isDir) { - LOG(ERR) << "- removing dir: " << TRI_RemoveDirectory(full.c_str()); - } else { - LOG(ERR) << "- file: " << full << ", size: " << TRI_SizeFile(full.c_str()); - LOG(ERR) << "- removing file: " << TRI_UnlinkFile(full.c_str()); - } - } - LOG(ERR) << "ALL FILES AGAIN: " << TRI_FilesDirectory(collection->path().c_str()); - + << newFilename << "': " << TRI_errno_string(res) << systemError; } else { LOG(DEBUG) << "wiping dropped collection '" << name << "' from disk";