1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api

This commit is contained in:
jsteemann 2017-02-07 15:21:18 +01:00
commit b9f19bf64f
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}
}