diff options
-rw-r--r-- | src/mongo/client/parallel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/parallel.cpp b/src/mongo/client/parallel.cpp index f4a89a9e45b..26ebcea0582 100644 --- a/src/mongo/client/parallel.cpp +++ b/src/mongo/client/parallel.cpp @@ -410,7 +410,9 @@ void ParallelSortClusteredCursor::setupVersionAndHandleSlaveOk( const DBClientReplicaSet* replConn = dynamic_cast<const DBClientReplicaSet*>(rawConn); invariant(replConn); ReplicaSetMonitorPtr rsMonitor = ReplicaSetMonitor::get(replConn->getSetName()); - uassert(16388, "cannot access unknown replica set:", rsMonitor != nullptr); + uassert(16388, + str::stream() << "cannot access unknown replica set: " << replConn->getSetName(), + rsMonitor != nullptr); if (!rsMonitor->isKnownToHaveGoodPrimary()) { state->conn->donotCheckVersion(); |