1
0
Fork 0

[devel] Do not skip the check if there is only a single agent. (#8943)

* Do not skip the check if there is only a single agent.
* Updated changelog.
This commit is contained in:
Lars Maier 2019-05-14 15:42:43 +02:00 committed by Max Neunhöffer
parent 49c568e674
commit d9ff6647d8
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
devel 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 #7011: description when replacing a foxx application was misleading
* fixed issue #8841: Graph Viewer dropped ability to edit an edge after * fixed issue #8841: Graph Viewer dropped ability to edit an edge after

View File

@ -403,7 +403,7 @@ RestStatus RestAgencyHandler::handleInquire() {
} }
// Leadership established? // Leadership established?
if (_agent->size() > 1 && _agent->leaderID() == NO_LEADER) { if (_agent->leaderID() == NO_LEADER) {
return reportMessage(rest::ResponseCode::SERVICE_UNAVAILABLE, "No leader"); return reportMessage(rest::ResponseCode::SERVICE_UNAVAILABLE, "No leader");
} }