summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries/bucket_catalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/timeseries/bucket_catalog.h')
-rw-r--r--src/mongo/db/timeseries/bucket_catalog.h3
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;
};
/**