-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
New field added to serverStatus metrics under shardingStatistics.resharding: lastOpEndingChunkImbalance. This field contains the largest diff (maxNumChunksInShard - minNumChunksInShard) among all zones for the collection that went through the last resharding operation. This is only updated on the config servers.
Description of Linked Ticket
Resharding attempts to create an initial chunk distribution such that the collection will not be rebalanced by the balancer immediately after (absent of any topology changes, etc of course). It would be useful to collect metrics on whether the balancer rebalances a collection that has just been resharded in order to determine whether resharding's initial split policy is in fact creating a good initial distribution.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- backported by
-
DOCS-14595 [SERVER] BACKPORT v5.0: Record metrics about whether a collection is rebalanced after resharding op finishes
- Closed
- documents
-
SERVER-55430 Record metrics about whether a collection is rebalanced after resharding op finishes
- Closed