Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87964

mongodb 6.0.13 do not balance data when new add new node

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.13
    • Component/s: None
    • None
    • ALL

      my cluster is three nodes with three nodes.now i add three nodes to cluster,
      but data is not balance.old cluster is shard1,shard2,shard3.
      new shard is shard4,shard5,shard6

      Shard shard1 at shard1

      { data: '2321.65GiB', docs: 1093706109, chunks: 1, 'estimated data per chunk': '2321.65GiB', 'estimated docs per chunk': 1093706109 }


      Shard shard6 at shard6

      { data: '1296.5GiB', docs: 610768855, chunks: 2950, 'estimated data per chunk': '450.04MiB', 'estimated docs per chunk': 207040 }


      Shard shard2 at shard2

      { data: '2322.47GiB', docs: 1094092938, chunks: 1, 'estimated data per chunk': '2322.47GiB', 'estimated docs per chunk': 1094092938 }


      Shard shard5 at shard5

      { data: '1296.59GiB', docs: 610814726, chunks: 3362, 'estimated data per chunk': '394.91MiB', 'estimated docs per chunk': 181681 }


      Shard shard3 at shard3

      { data: '2317.19GiB', docs: 1091605741, chunks: 1, 'estimated data per chunk': '2317.19GiB', 'estimated docs per chunk': 1091605741 }


      Shard shard4 at shard4

      { data: '1296.5GiB', docs: 610768841, chunks: 3334, 'estimated data per chunk': '398.2MiB', 'estimated docs per chunk': 183194 }

      Totals

      { data: '10850.91GiB', docs: 5111757210, chunks: 9649, 'Shard shard1': [ '21.39 % data', '21.39 % docs in cluster', '2KiB avg obj size on shard' ], 'Shard shard6': [ '11.94 % data', '11.94 % docs in cluster', '2KiB avg obj size on shard' ], 'Shard shard2': [ '21.4 % data', '21.4 % docs in cluster', '2KiB avg obj size on shard' ], 'Shard shard5': [ '11.94 % data', '11.94 % docs in cluster', '2KiB avg obj size on shard' ], 'Shard shard3': [ '21.35 % data', '21.35 % docs in cluster', '2KiB avg obj size on shard' ], 'Shard shard4': [ '11.94 % data', '11.94 % docs in cluster', '2KiB avg obj size on shard' ] }

            Assignee:
            Unassigned Unassigned
            Reporter:
            601290552@qq.com jing xu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: