From f55559368fe6a51689ffc3c08bab4434cb1b2b99 Mon Sep 17 00:00:00 2001 From: David Storch Date: Tue, 14 Aug 2018 12:13:20 -0400 Subject: SERVER-16857 Delete MMAPv1 diskloc invalidations. - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument(). --- src/mongo/db/exec/projection.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mongo/db/exec/projection.cpp') diff --git a/src/mongo/db/exec/projection.cpp b/src/mongo/db/exec/projection.cpp index 7bcadd0675b..aabd85106a5 100644 --- a/src/mongo/db/exec/projection.cpp +++ b/src/mongo/db/exec/projection.cpp @@ -150,11 +150,6 @@ Status ProjectionStage::transform(WorkingSetMember* member) { BSONObjBuilder bob; - // Note that even if our fast path analysis is bug-free something that is - // covered might be invalidated and just be an obj. In this case we just go - // through the SIMPLE_DOC path which is still correct if the covered data - // is not available. - // // SIMPLE_DOC implies that we expect an object so it's kind of redundant. if ((ProjectionStageParams::SIMPLE_DOC == _projImpl) || member->hasObj()) { // If we got here because of SIMPLE_DOC the planner shouldn't have messed up. -- cgit v1.2.1