mirror of https://gitee.com/bigwinds/arangodb
removed method
This commit is contained in:
parent
dd9e29702c
commit
028f451edd
|
@ -1385,18 +1385,6 @@ void LogfileManager::waitForCollector (Logfile::IdType logfileId) {
|
|||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief scan a single logfile
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool LogfileManager::scanLogfile (Logfile const* logfile) {
|
||||
TRI_ASSERT(logfile != nullptr);
|
||||
|
||||
LOG_TRACE("scanning logfile %llu (%s)", (unsigned long long) logfile->id(), logfile->statusText().c_str());
|
||||
|
||||
return TRI_IterateDatafile(logfile->df(), &ScanMarker, static_cast<void*>(_recoverState));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief write abort markers for all open transactions
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1804,7 +1792,9 @@ int LogfileManager::inspectLogfiles () {
|
|||
++_recoverState->logfilesToCollect;
|
||||
}
|
||||
|
||||
if (! scanLogfile(logfile)) {
|
||||
LOG_TRACE("scanning logfile %llu (%s)", (unsigned long long) logfile->id(), logfile->statusText().c_str());
|
||||
|
||||
if (! TRI_IterateDatafile(logfile->df(), &ScanMarker, static_cast<void*>(_recoverState))) {
|
||||
LOG_TRACE("WAL inspection failed when scanning logfile '%s'", logfile->filename().c_str());
|
||||
return TRI_ERROR_INTERNAL;
|
||||
}
|
||||
|
|
|
@ -587,12 +587,6 @@ namespace triagens {
|
|||
|
||||
void waitForCollector (Logfile::IdType);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief scan a single logfile
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool scanLogfile (Logfile const*);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief write abort markers for all open transactions
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue