diff options
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_index.h')
| -rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_index.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_index.h b/src/mongo/db/storage/wiredtiger/wiredtiger_index.h index 5a94980c22c..8fccc7d8c24 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_index.h +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_index.h @@ -156,6 +156,9 @@ public: virtual Status initAsEmpty(OperationContext* opCtx); + virtual void printIndexEntryMetadata(OperationContext* opCtx, + const KeyString::Value& keyString) const; + Status compact(OperationContext* opCtx) override; const std::string& uri() const { @@ -295,6 +298,16 @@ protected: const KeyString::Value& keyString, bool dupsAllowed) override; + /** + * This function continues to exist in order to support v4.0 unique partial index format: the + * format changed in v4.2 and onward. _unindex will call this if an index entry in the new + * format cannot be found, and this function will check for the old format. + */ + void _unindexTimestampUnsafe(OperationContext* opCtx, + WT_CURSOR* c, + const KeyString::Value& keyString, + bool dupsAllowed); + private: bool _partial; }; |
