We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffa44a commit 7ee0b02Copy full SHA for 7ee0b02
src/mongo/db/query/new_find.cpp
@@ -233,9 +233,10 @@ namespace mongo {
233
bool saveClientCursor = false;
234
235
if (Runner::RUNNER_DEAD == state || Runner::RUNNER_ERROR == state) {
236
- // XXX: Do we need to propagate this error to caller?
+ // Propagate this error to caller.
237
if (Runner::RUNNER_ERROR == state) {
238
- warning() << "getMore runner error: " << WorkingSetCommon::toStatusString(obj);
+ uasserted(17406, "getMore runner error: " +
239
+ WorkingSetCommon::toStatusString(obj));
240
}
241
242
// If we're dead there's no way to get more results.
0 commit comments