diff options
Diffstat (limited to 'src/mongo/s/catalog_cache.h')
-rw-r--r-- | src/mongo/s/catalog_cache.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/s/catalog_cache.h b/src/mongo/s/catalog_cache.h index c7f53a2ab27..7dd03763160 100644 --- a/src/mongo/s/catalog_cache.h +++ b/src/mongo/s/catalog_cache.h @@ -347,28 +347,28 @@ private: struct Stats { // Counts how many times threads hit stale config exception (which is what triggers metadata // refreshes) - AtomicInt64 countStaleConfigErrors{0}; + AtomicWord<long long> countStaleConfigErrors{0}; // Cumulative, always-increasing counter of how much time threads waiting for refresh // combined - AtomicInt64 totalRefreshWaitTimeMicros{0}; + AtomicWord<long long> totalRefreshWaitTimeMicros{0}; // Tracks how many incremental refreshes are waiting to complete currently - AtomicInt64 numActiveIncrementalRefreshes{0}; + AtomicWord<long long> numActiveIncrementalRefreshes{0}; // Cumulative, always-increasing counter of how many incremental refreshes have been kicked // off - AtomicInt64 countIncrementalRefreshesStarted{0}; + AtomicWord<long long> countIncrementalRefreshesStarted{0}; // Tracks how many full refreshes are waiting to complete currently - AtomicInt64 numActiveFullRefreshes{0}; + AtomicWord<long long> numActiveFullRefreshes{0}; // Cumulative, always-increasing counter of how many full refreshes have been kicked off - AtomicInt64 countFullRefreshesStarted{0}; + AtomicWord<long long> countFullRefreshesStarted{0}; // Cumulative, always-increasing counter of how many full or incremental refreshes failed // for whatever reason - AtomicInt64 countFailedRefreshes{0}; + AtomicWord<long long> countFailedRefreshes{0}; /** * Reports the accumulated statistics for serverStatus. |