From ed9fa4ce037b1f2cd66f5f72372201529e624506 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Wed, 19 Dec 2018 19:29:09 +0100 Subject: [PATCH] suppress a warning message about non-optimal MMFiles collection data structures while doing WAL recovery, not just while upgrading. otherwise this message may pop up even when starting the server with `--database.auto-upgrade true` before actually starting the upgrade procedure --- arangod/MMFiles/MMFilesCollection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/MMFiles/MMFilesCollection.cpp b/arangod/MMFiles/MMFilesCollection.cpp index 23e04b019185..0167d77b8edc 100644 --- a/arangod/MMFiles/MMFilesCollection.cpp +++ b/arangod/MMFiles/MMFilesCollection.cpp @@ -2004,7 +2004,7 @@ int MMFilesCollection::iterateMarkersOnLoad(transaction::Methods* trx) { _hasAllPersistentLocalIds.store(openState._hasAllPersistentLocalIds); auto engine = static_cast(EngineSelectorFeature::ENGINE); LOG_TOPIC_IF(WARN, arangodb::Logger::ENGINES, - !openState._hasAllPersistentLocalIds && !engine->upgrading()) + !openState._hasAllPersistentLocalIds && !engine->upgrading() && !engine->inRecovery()) << "collection '" << _logicalCollection.name() << "' does not have all " << "persistent LocalDocumentIds; cannot be linked to an arangosearch view";