diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_metrics.h')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_metrics.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding/resharding_metrics.h b/src/mongo/db/s/resharding/resharding_metrics.h index 2f0ce2fbc16..2f5f1190f11 100644 --- a/src/mongo/db/s/resharding/resharding_metrics.h +++ b/src/mongo/db/s/resharding/resharding_metrics.h @@ -105,8 +105,9 @@ private: mutable Mutex _mutex = MONGO_MAKE_LATCH("ReshardingMetrics::_mutex"); - // The following maintain the number of operations that succeeded, failed with an unrecoverable - // error, and canceled by the user, respectively. + // The following maintain the number of resharding operations that have started, succeeded, + // failed with an unrecoverable error, and canceled by the user, respectively. + int64_t _started = 0; int64_t _succeeded = 0; int64_t _failed = 0; int64_t _canceled = 0; |