diff options
Diffstat (limited to 'src/mongo/db/exec/oplogstart.cpp')
-rw-r--r-- | src/mongo/db/exec/oplogstart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/oplogstart.cpp b/src/mongo/db/exec/oplogstart.cpp index c5fb5eb6066..7fe3257b5cf 100644 --- a/src/mongo/db/exec/oplogstart.cpp +++ b/src/mongo/db/exec/oplogstart.cpp @@ -81,7 +81,7 @@ namespace mongo { catch (const WriteConflictException& wce) { _subIterators.clear(); *out = WorkingSet::INVALID_ID; - return NEED_FETCH; + return NEED_YIELD; } } @@ -99,7 +99,7 @@ namespace mongo { const RecordId loc = _subIterators.back()->curr(); if (loc.isNull()) return PlanStage::NEED_TIME; - // TODO: should we ever try and return NEED_FETCH here? + // TODO: should we ever try and return NEED_YIELD here? const BSONObj obj = _subIterators.back()->dataFor(loc).releaseToBson(); if (!_filter->matchesBSON(obj)) { _done = true; |