diff --git a/CHANGELOG b/CHANGELOG index e33c69cf97..f62900e13a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ devel ----- +* removed bug during start up with a single agent, that leads to dbserver crash. + * fixed issue #7011: description when replacing a foxx application was misleading * fixed issue #8841: Graph Viewer dropped ability to edit an edge after diff --git a/arangod/Agency/RestAgencyHandler.cpp b/arangod/Agency/RestAgencyHandler.cpp index 22630af6a7..87e2573f3b 100644 --- a/arangod/Agency/RestAgencyHandler.cpp +++ b/arangod/Agency/RestAgencyHandler.cpp @@ -403,7 +403,7 @@ RestStatus RestAgencyHandler::handleInquire() { } // Leadership established? - if (_agent->size() > 1 && _agent->leaderID() == NO_LEADER) { + if (_agent->leaderID() == NO_LEADER) { return reportMessage(rest::ResponseCode::SERVICE_UNAVAILABLE, "No leader"); }