diff options
Diffstat (limited to 'src/mongo/db/s/sharding_statistics.h')
-rw-r--r-- | src/mongo/db/s/sharding_statistics.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/sharding_statistics.h b/src/mongo/db/s/sharding_statistics.h index 7aae7a24501..79547043949 100644 --- a/src/mongo/db/s/sharding_statistics.h +++ b/src/mongo/db/s/sharding_statistics.h @@ -95,6 +95,10 @@ struct ShardingStatistics { // due to concurrent index operations. AtomicWord<long long> countDonorMoveChunkAbortConflictingIndexOperation{0}; + // Total number of migrations leftover from previous primaries that needs to be run to + // completion. Valid only when this process is the repl set primary. + AtomicWord<long long> unfinishedMigrationFromPreviousPrimary{0}; + /** * Obtains the per-process instance of the sharding statistics object. */ |