summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h')
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
index 82efd45ba07..bdf19060444 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store.h
@@ -104,7 +104,7 @@ public:
std::string ident;
std::string engineName;
bool isCapped;
- bool isClustered;
+ KeyFormat keyFormat;
bool isEphemeral;
int64_t cappedMaxSize;
int64_t cappedMaxDocs;
@@ -125,7 +125,7 @@ public:
// name of the RecordStore implementation
virtual const char* name() const;
- virtual bool isClustered() const;
+ virtual KeyFormat keyFormat() const;
virtual long long dataSize(OperationContext* opCtx) const;
@@ -355,8 +355,8 @@ private:
const std::string _engineName;
// The capped settings should not be updated once operations have started
const bool _isCapped;
- // True if this record store is clustered.
- const bool _isClustered;
+ // The format of this RecordStore's RecordId keys.
+ const KeyFormat _keyFormat;
// True if the storage engine is an in-memory storage engine
const bool _isEphemeral;
// True if WiredTiger is logging updates to this table