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

Remove unnecessary iterations in balance_repl.js

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding 2019-11-18

    Description

      There is no need to perform moveChunk multiple times. One should be enough:
      https://github.com/mongodb/mongo/blob/r4.3.0/jstests/sharding/balance_repl.js#L50

      Also delete outdated comment:
      https://github.com/mongodb/mongo/blob/r4.3.0/jstests/sharding/balance_repl.js#L51

      Attachments

        Activity

          People

            anton.oyung@mongodb.com Anton Oyung
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: