Skip to content

Commit 58942f1

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14595 serverStatus output change
1 parent 88afa9e commit 58942f1

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

source/reference/command/serverStatus.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2837,7 +2837,8 @@ shardingStatistics
28372837
"donorState" : <num>,
28382838
"recipientState" : <num>,
28392839
"coordinatorState" : <num>,
2840-
"opStatus" : <num>
2840+
"opStatus" : <num>,
2841+
"lastOpEndingChunkImbalance": NumberLong(<num>)
28412842
}
28422843
},
28432844

@@ -3605,6 +3606,20 @@ shardingStatistics
36053606

36063607
.. versionadded:: 5.0
36073608

3609+
.. serverstatus:: shardingStatistics.resharding.lastOpEndingChunkImbalance
3610+
3611+
This field contains the highest numeric difference for
3612+
(``maxNumChunksInShard - minNumChunksInShard``) among all
3613+
:ref:`zones <zone-sharding>` for the
3614+
collection that was processed by the most recent
3615+
:ref:`resharding operation <resharding_process>`.
3616+
3617+
See :ref:`sharding-chunk-size`.
3618+
3619+
*Only updated on config servers.*
3620+
3621+
.. versionadded:: 5.0
3622+
36083623
.. _server-status-sharded-index-consistency:
36093624

36103625
shardedIndexConsistency

0 commit comments

Comments
 (0)