diff options
author | David Storch <david.storch@10gen.com> | 2018-08-14 17:11:56 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-08-29 09:32:45 -0400 |
commit | 78901fd754958d57b914e7209e702eec53543d81 (patch) | |
tree | 371204633fed7b2cdca15e82cc1164127136c9a5 /src/mongo/db/storage/biggie | |
parent | f55559368fe6a51689ffc3c08bab4434cb1b2b99 (diff) | |
download | mongo-78901fd754958d57b914e7209e702eec53543d81.tar.gz |
SERVER-36662 Delete UpdateNotifier.
The UpdateNotifier was a callback mechanism for issuing
MMAPv1 diskloc invalidations. It does nothing now that
MMAPv1 invalidations are themselves deleted.
Diffstat (limited to 'src/mongo/db/storage/biggie')
-rw-r--r-- | src/mongo/db/storage/biggie/biggie_record_store.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/storage/biggie/biggie_record_store.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/storage/biggie/biggie_record_store.cpp b/src/mongo/db/storage/biggie/biggie_record_store.cpp index d7afd580edc..45d25c0ba0d 100644 --- a/src/mongo/db/storage/biggie/biggie_record_store.cpp +++ b/src/mongo/db/storage/biggie/biggie_record_store.cpp @@ -192,8 +192,7 @@ Status RecordStore::insertRecordsWithDocWriter(OperationContext* opCtx, Status RecordStore::updateRecord(OperationContext* opCtx, const RecordId& oldLocation, const char* data, - int len, - UpdateNotifier* notifier) { + int len) { StringStore* workingCopy = getRecoveryUnitBranch_forking(opCtx); std::string key = createKey(_ident, oldLocation.repr()); StringStore::const_iterator it = workingCopy->find(key); diff --git a/src/mongo/db/storage/biggie/biggie_record_store.h b/src/mongo/db/storage/biggie/biggie_record_store.h index 9310a875c24..3ff845fe422 100644 --- a/src/mongo/db/storage/biggie/biggie_record_store.h +++ b/src/mongo/db/storage/biggie/biggie_record_store.h @@ -94,8 +94,7 @@ public: virtual Status updateRecord(OperationContext* opCtx, const RecordId& oldLocation, const char* data, - int len, - UpdateNotifier* notifier); + int len); virtual bool updateWithDamagesSupported() const; |