summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.h
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2021-10-22 14:57:59 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-22 15:43:10 +0000
commit68073b2af83af85dcf8512077f2f339ffbcd4548 (patch)
treecf745a0a523a462d5aa09f4650c25dbe9c03be10 /src/mongo/db/catalog/collection_impl.h
parentae75596f998e0c24ce102913d81121b3674f3bb2 (diff)
downloadmongo-68073b2af83af85dcf8512077f2f339ffbcd4548.tar.gz
SERVER-60575 On upgrade, add the catalog flag that indicates that a time-series bucket may have mixed-schema data
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.h')
-rw-r--r--src/mongo/db/catalog/collection_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_impl.h b/src/mongo/db/catalog/collection_impl.h
index e0fd02ceb44..763fd6aae56 100644
--- a/src/mongo/db/catalog/collection_impl.h
+++ b/src/mongo/db/catalog/collection_impl.h
@@ -321,6 +321,10 @@ public:
bool isTemporary() const final;
+ boost::optional<bool> getTimeseriesBucketsMayHaveMixedSchemaData() const final;
+ void setTimeseriesBucketsMayHaveMixedSchemaData(OperationContext* opCtx,
+ boost::optional<bool> setting) final;
+
/**
* isClustered() relies on the object returned from getClusteredInfo(). If
* ClusteredCollectionInfo exists, the collection is clustered.