mirror of https://gitee.com/bigwinds/arangodb
added diagnostic message at startup
This commit is contained in:
parent
dd594fe75a
commit
a0da7e483d
|
@ -1866,6 +1866,9 @@ int TRI_StartServer (TRI_server_t* server,
|
||||||
|
|
||||||
server->_wasShutdownCleanly = (res == TRI_ERROR_NO_ERROR);
|
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
|
// verify existence of "databases" subdirectory
|
||||||
|
|
|
@ -823,6 +823,10 @@ static int ScanPath (TRI_vocbase_t* vocbase,
|
||||||
files = TRI_FilesDirectory(path);
|
files = TRI_FilesDirectory(path);
|
||||||
n = files._length;
|
n = files._length;
|
||||||
|
|
||||||
|
if (iterateMarkers) {
|
||||||
|
LOG_TRACE("scanning all collection markers in database '%s", vocbase->_name);
|
||||||
|
}
|
||||||
|
|
||||||
for (i = 0; i < n; ++i) {
|
for (i = 0; i < n; ++i) {
|
||||||
char* name;
|
char* name;
|
||||||
char* file;
|
char* file;
|
||||||
|
|
Loading…
Reference in New Issue