diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2021-10-22 14:57:59 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-22 15:43:10 +0000 |
commit | 68073b2af83af85dcf8512077f2f339ffbcd4548 (patch) | |
tree | cf745a0a523a462d5aa09f4650c25dbe9c03be10 /src/mongo/db/catalog/collection_impl.h | |
parent | ae75596f998e0c24ce102913d81121b3674f3bb2 (diff) | |
download | mongo-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.h | 4 |
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. |