diff options
Diffstat (limited to 'src/mongo/client/syncclusterconnection.cpp')
-rw-r--r-- | src/mongo/client/syncclusterconnection.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mongo/client/syncclusterconnection.cpp b/src/mongo/client/syncclusterconnection.cpp index d8239ebb38f..52ed06592ec 100644 --- a/src/mongo/client/syncclusterconnection.cpp +++ b/src/mongo/client/syncclusterconnection.cpp @@ -220,11 +220,6 @@ void SyncClusterConnection::_connect(const std::string& hostStr) { _conns.push_back(c); } -bool SyncClusterConnection::callRead(Message& toSend, Message& response) { - // TODO: need to save state of which one to go back to somehow... - return _conns[0]->callRead(toSend, response); -} - bool SyncClusterConnection::runCommand(const std::string& dbname, const BSONObj& cmd, BSONObj& info, @@ -580,7 +575,7 @@ bool SyncClusterConnection::call(Message& toSend, for (size_t i = 0; i < _conns.size(); i++) { try { - bool ok = _conns[i]->call(toSend, response, assertOk); + bool ok = _conns[i]->call(toSend, response, assertOk, nullptr); if (ok) { if (actualServer) *actualServer = _connAddresses[i]; |