1
0
Fork 0

removed unused property

This commit is contained in:
jsteemann 2016-09-01 10:40:29 +02:00
parent 2eaf7196e2
commit 29170414a2
3 changed files with 2 additions and 4 deletions

View File

@ -228,7 +228,6 @@ DatabaseFeature::DatabaseFeature(ApplicationServer* server)
_isInitiallyEmpty(false), _isInitiallyEmpty(false),
_replicationApplier(true), _replicationApplier(true),
_checkVersion(false), _checkVersion(false),
_iterateMarkersOnOpen(false),
_upgrade(false) { _upgrade(false) {
setOptional(false); setOptional(false);
requiresElevatedPrivileges(false); requiresElevatedPrivileges(false);
@ -309,8 +308,6 @@ void DatabaseFeature::start() {
// init key generator // init key generator
KeyGenerator::Initialize(); KeyGenerator::Initialize();
_iterateMarkersOnOpen = !wal::LogfileManager::instance()->hasFoundLastTick();
verifyAppPaths(); verifyAppPaths();
// scan all databases // scan all databases

View File

@ -164,7 +164,6 @@ class DatabaseFeature final : public application_features::ApplicationFeature {
bool _isInitiallyEmpty; bool _isInitiallyEmpty;
bool _replicationApplier; bool _replicationApplier;
bool _checkVersion; bool _checkVersion;
bool _iterateMarkersOnOpen;
bool _upgrade; bool _upgrade;
/// @brief lock for serializing the creation of databases /// @brief lock for serializing the creation of databases

View File

@ -170,6 +170,8 @@ void MMFilesEngine::start() {
// create a database for the system database // create a database for the system database
res = createDatabaseDirectory(TRI_NewTickServer(), TRI_VOC_SYSTEM_DATABASE); res = createDatabaseDirectory(TRI_NewTickServer(), TRI_VOC_SYSTEM_DATABASE);
_iterateMarkersOnOpen = false; _iterateMarkersOnOpen = false;
} else {
_iterateMarkersOnOpen = !application_features::ApplicationServer::getFeature<wal::LogfileManager>("LogfileManager")->hasFoundLastTick();
} }
if (res != TRI_ERROR_NO_ERROR) { if (res != TRI_ERROR_NO_ERROR) {