summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/timeseries')
-rw-r--r--src/mongo/db/timeseries/bucket_catalog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog.h b/src/mongo/db/timeseries/bucket_catalog.h
index 7f746ce3653..77cfee2713f 100644
--- a/src/mongo/db/timeseries/bucket_catalog.h
+++ b/src/mongo/db/timeseries/bucket_catalog.h
@@ -969,14 +969,14 @@ protected:
static long long _marginalMemoryUsageForArchivedBucket(const ArchivedBucket& bucket,
bool onlyEntryForMatchingMetaHash);
+ mutable Mutex _mutex =
+ MONGO_MAKE_LATCH(HierarchicalAcquisitionLevel(0), "BucketCatalog::_mutex");
+
EraManager _eraManager = {&_mutex};
static constexpr std::size_t kNumberOfStripes = 32;
std::array<Stripe, kNumberOfStripes> _stripes;
- mutable Mutex _mutex =
- MONGO_MAKE_LATCH(HierarchicalAcquisitionLevel(0), "BucketCatalog::_mutex");
-
// Bucket state for synchronization with direct writes, protected by '_mutex'
stdx::unordered_map<OID, BucketState, OID::Hasher> _bucketStates;