mirror of https://gitee.com/bigwinds/arangodb
[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:
parent
49c568e674
commit
d9ff6647d8
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue