1
0
Fork 0

Fix synchronous replication.

This commit is contained in:
Max Neunhoeffer 2016-04-19 15:40:51 +02:00
parent d1bea93518
commit ed41c310c1
1 changed files with 2 additions and 2 deletions

View File

@ -1305,10 +1305,10 @@ OperationResult Transaction::insertLocal(std::string const& collectionName,
requests[i].result.answer_code !=
GeneralResponse::ResponseCode::CREATED)) {
auto const& followerInfo = document->followers();
followerInfo->remove(requests[i].result.serverID);
followerInfo->remove((*followers)[i]);
LOG_TOPIC(ERR, Logger::REPLICATION)
<< "insertLocal: dropping follower "
<< requests[i].result.serverID;
<< (*followers)[i] << " for shard " << collectionName;
}
}
}