mirror of https://gitee.com/bigwinds/arangodb
removed unused property
This commit is contained in:
parent
2eaf7196e2
commit
29170414a2
|
@ -228,7 +228,6 @@ DatabaseFeature::DatabaseFeature(ApplicationServer* server)
|
|||
_isInitiallyEmpty(false),
|
||||
_replicationApplier(true),
|
||||
_checkVersion(false),
|
||||
_iterateMarkersOnOpen(false),
|
||||
_upgrade(false) {
|
||||
setOptional(false);
|
||||
requiresElevatedPrivileges(false);
|
||||
|
@ -309,8 +308,6 @@ void DatabaseFeature::start() {
|
|||
// init key generator
|
||||
KeyGenerator::Initialize();
|
||||
|
||||
_iterateMarkersOnOpen = !wal::LogfileManager::instance()->hasFoundLastTick();
|
||||
|
||||
verifyAppPaths();
|
||||
|
||||
// scan all databases
|
||||
|
|
|
@ -164,7 +164,6 @@ class DatabaseFeature final : public application_features::ApplicationFeature {
|
|||
bool _isInitiallyEmpty;
|
||||
bool _replicationApplier;
|
||||
bool _checkVersion;
|
||||
bool _iterateMarkersOnOpen;
|
||||
bool _upgrade;
|
||||
|
||||
/// @brief lock for serializing the creation of databases
|
||||
|
|
|
@ -170,6 +170,8 @@ void MMFilesEngine::start() {
|
|||
// create a database for the system database
|
||||
res = createDatabaseDirectory(TRI_NewTickServer(), TRI_VOC_SYSTEM_DATABASE);
|
||||
_iterateMarkersOnOpen = false;
|
||||
} else {
|
||||
_iterateMarkersOnOpen = !application_features::ApplicationServer::getFeature<wal::LogfileManager>("LogfileManager")->hasFoundLastTick();
|
||||
}
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
|
|
Loading…
Reference in New Issue