diff options
author | Dan Larkin-York <dan.larkin-york@mongodb.com> | 2022-09-08 16:17:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-08 19:18:38 +0000 |
commit | f7ba1ef27227d507bd7e516654b30a16f0639deb (patch) | |
tree | 65c07bd840af1f8f97c47d0518f88b53f87ed91c /src/mongo/db/timeseries/bucket_catalog.h | |
parent | 012cefe1d28a809b1f29a6dad17687c6e47b5280 (diff) | |
download | mongo-f7ba1ef27227d507bd7e516654b30a16f0639deb.tar.gz |
SERVER-69469 Retain minimal information when archiving a bucket
Diffstat (limited to 'src/mongo/db/timeseries/bucket_catalog.h')
-rw-r--r-- | src/mongo/db/timeseries/bucket_catalog.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog.h b/src/mongo/db/timeseries/bucket_catalog.h index c68f101fb18..c3dc40c915d 100644 --- a/src/mongo/db/timeseries/bucket_catalog.h +++ b/src/mongo/db/timeseries/bucket_catalog.h @@ -138,7 +138,7 @@ public: struct ClosedBucket { OID bucketId; std::string timeField; - uint32_t numMeasurements; + boost::optional<uint32_t> numMeasurements; bool eligibleForReopening = false; }; using ClosedBuckets = std::vector<ClosedBucket>; @@ -479,7 +479,6 @@ protected: struct ArchivedBucket { OID bucketId; std::string timeField; - uint32_t numMeasurements; }; /** |