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

Don't create the first collection chunk on a primary drained shard

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.3, 3.7.2
    • 3.2.17, 3.4.10, 3.6.2
    • None
    • Fully Compatible
    • v3.6
    • Sharding 2018-02-12

    Description

      Once we mark a primary shard to drain via

      db.runCommand( { removeShard: "my_primary_shard"})
      

      the first chunk for new sharded collections will still be created on the primary drained shard and then it will be moved to another shard automatically.

      We should be able to avoid this step and directly create the first chunk on another shard.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            renato.riccio@mongodb.com Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: