1
0
Fork 0

added diagnostic message at startup

This commit is contained in:
Jan Steemann 2014-03-14 13:32:49 +01:00
parent dd594fe75a
commit a0da7e483d
2 changed files with 7 additions and 0 deletions

View File

@ -1866,6 +1866,9 @@ int TRI_StartServer (TRI_server_t* server,
server->_wasShutdownCleanly = (res == TRI_ERROR_NO_ERROR);
if (! server->_wasShutdownCleanly) {
LOG_INFO("server was not shut down cleanly. scanning datafile markers");
}
// .............................................................................
// verify existence of "databases" subdirectory

View File

@ -823,6 +823,10 @@ static int ScanPath (TRI_vocbase_t* vocbase,
files = TRI_FilesDirectory(path);
n = files._length;
if (iterateMarkers) {
LOG_TRACE("scanning all collection markers in database '%s", vocbase->_name);
}
for (i = 0; i < n; ++i) {
char* name;
char* file;