Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14565

Investigate changes in SERVER-55430: Record metrics about whether a collection is rebalanced after resharding op finishes

      Description

      Downstream Change Summary

      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.)

            Assignee:
            ian.fogelman@mongodb.com Ian Fogelman
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 29 weeks, 1 day ago