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

[Server] Migration thresholds are missing from Sharded Cluster Balancer topic

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • Server_Docs_20231030
    • Affects Version/s: 6.0.0
    • Component/s: Server
    • Labels:
      None

      Currently balancing threshold are not clarified and the section contains a link to itself:

      https://www.mongodb.com/docs/manual/core/sharding-balancer-administration/#std-label-sharding-migration-thresholds

      Also, the "migration thresholds" link points to the same section - that should be fixed/removed.

      Explanation provided by engineering
      The migration threshold for 6.0 is 3x the configured chunk size for a given collection. So for the default chunk size (for 6.0) of 128MB, two shards must have a data size difference for a given collection of at least 384MB for a migration to occur.

      At steady state it's ok to have shards' data sizes slightly differing. Much better than continuously moving data to reach perfect equality.

            Assignee:
            joseph.dougherty@mongodb.com Joseph Dougherty
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 2 weeks, 3 days ago