summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index 553c9e541f8..8a8ab870a09 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -293,6 +293,8 @@ public:
bool isTemporary(OperationContext* opCtx) const final;
+ bool isClustered() const final;
+
//
// Stats
//
@@ -463,6 +465,9 @@ private:
boost::optional<ValidationActionEnum> _validationAction;
boost::optional<ValidationLevelEnum> _validationLevel;
+ // Whether or not this collection is clustered on _id values.
+ bool _clustered = false;
+
bool _recordPreImages = false;
// The earliest snapshot that is allowed to use this collection.