mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
This commit is contained in:
commit
b9f19bf64f
|
@ -555,7 +555,7 @@ void Supervision::handleShutdown() {
|
|||
LOG(ERR) << "Invalid resultsize of " << result.indices.size()
|
||||
<< " found during shutdown";
|
||||
} else {
|
||||
if (!_agent->waitFor(result.indices.at(0))) {
|
||||
if (_agent->waitFor(result.indices.at(0)) != Agent::raft_commit_t::OK) {
|
||||
LOG(ERR) << "Result was not written to followers during shutdown";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue