diff options
-rw-r--r-- | src/mongo/client/parallel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/client/parallel.cpp b/src/mongo/client/parallel.cpp index 8ef983abc53..30cee0d99e7 100644 --- a/src/mongo/client/parallel.cpp +++ b/src/mongo/client/parallel.cpp @@ -1527,6 +1527,11 @@ namespace mongo { if ( comp < 0 ) continue; + uassert(28841, + str::stream() << "server " << _cursors[i].raw()->originalHost() + << " returned an error: " << me, + !_cursors[i].raw()->hasResultFlag(ResultFlag_ErrSet)); + best = me; bestFrom = i; } |