File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -2837,7 +2837,8 @@ shardingStatistics
2837
2837
"donorState" : <num>,
2838
2838
"recipientState" : <num>,
2839
2839
"coordinatorState" : <num>,
2840
- "opStatus" : <num>
2840
+ "opStatus" : <num>,
2841
+ "lastOpEndingChunkImbalance": NumberLong(<num>)
2841
2842
}
2842
2843
},
2843
2844
@@ -3605,6 +3606,20 @@ shardingStatistics
3605
3606
3606
3607
.. versionadded:: 5.0
3607
3608
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
+
3608
3623
.. _server-status-sharded-index-consistency:
3609
3624
3610
3625
shardedIndexConsistency
Original file line number Diff line number Diff line change @@ -71,6 +71,16 @@ single-field non-TTL index.
71
71
General Improvements
72
72
--------------------
73
73
74
+ ``serverStatus`` Output Change
75
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76
+
77
+ :dbcommand:`serverStatus` includes the following new fields in its
78
+ output:
79
+
80
+ Resharding Statistics
81
+ - :serverstatus:`shardingStatistics.resharding.lastOpEndingChunkImbalance`
82
+
83
+
74
84
New Slot-Based Query Execution Engine
75
85
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76
86
You can’t perform that action at this time.
0 commit comments