diff options
author | David Storch <david.storch@10gen.com> | 2018-08-14 12:13:20 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-08-29 09:32:45 -0400 |
commit | f55559368fe6a51689ffc3c08bab4434cb1b2b99 (patch) | |
tree | 69924e0deea641a1618b1c31dd1d5f0faf645b2f /src/mongo/db/exec/fetch.cpp | |
parent | ba01c62b56ad109a17c11ed3ab609e0453eadf59 (diff) | |
download | mongo-f55559368fe6a51689ffc3c08bab4434cb1b2b99.tar.gz |
SERVER-16857 Delete MMAPv1 diskloc invalidations.
- Removes of PlanStage::invalidate().
- Removes RecordCursor::invalidate() from the storage API.
- Removes CursorManager::invalidateDocument().
Diffstat (limited to 'src/mongo/db/exec/fetch.cpp')
-rw-r--r-- | src/mongo/db/exec/fetch.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/exec/fetch.cpp b/src/mongo/db/exec/fetch.cpp index 6895a58ca3b..001e7010c54 100644 --- a/src/mongo/db/exec/fetch.cpp +++ b/src/mongo/db/exec/fetch.cpp @@ -164,18 +164,6 @@ void FetchStage::doReattachToOperationContext() { _cursor->reattachToOperationContext(getOpCtx()); } -void FetchStage::doInvalidate(OperationContext* opCtx, const RecordId& dl, InvalidationType type) { - // It's possible that the recordId getting invalidated is the one we're about to - // fetch. In this case we do a "forced fetch" and put the WSM in owned object state. - if (WorkingSet::INVALID_ID != _idRetrying) { - WorkingSetMember* member = _ws->get(_idRetrying); - if (member->hasRecordId() && (member->recordId == dl)) { - // Fetch it now and kill the recordId. - WorkingSetCommon::fetchAndInvalidateRecordId(opCtx, member, _collection); - } - } -} - PlanStage::StageState FetchStage::returnIfMatches(WorkingSetMember* member, WorkingSetID memberID, WorkingSetID* out) { |