diff options
Diffstat (limited to 'src/mongo/client')
-rw-r--r-- | src/mongo/client/parallel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/parallel.cpp b/src/mongo/client/parallel.cpp index 4a1f9d010a1..2baf10a58d1 100644 --- a/src/mongo/client/parallel.cpp +++ b/src/mongo/client/parallel.cpp @@ -678,7 +678,7 @@ void ParallelSortClusteredCursor::startInit(OperationContext* txn) { } catch (SocketException& e) { warning() << "socket exception when initializing on " << shardId << ", current connection state is " << mdata.toBSON() << causedBy(e); - e._shard = shardId; + e._shard = shardId.toString(); mdata.errored = true; if (returnPartial) { mdata.cleanup(true); @@ -688,7 +688,7 @@ void ParallelSortClusteredCursor::startInit(OperationContext* txn) { } catch (DBException& e) { warning() << "db exception when initializing on " << shardId << ", current connection state is " << mdata.toBSON() << causedBy(e); - e._shard = shardId; + e._shard = shardId.toString(); mdata.errored = true; if (returnPartial && e.getCode() == 15925 /* From above! */) { mdata.cleanup(true); |