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

implement joining behavior for movePrimary on shards

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-02-12, Sharding 2018-02-26, Sharding 2018-03-12

      If a shard gets additional movePrimary commands while it is already processing a movePrimary command, the later movePrimary commands should "join" the first one.

      This should mirror the way moveChunks 'join' an existing moveChunk.

      It will involve creating a new ActiveMovePrimariesRegistry class that mirrors ActiveMigrationsRegistry and installing an ActiveMovePrimariesRegistry on ShardingState.

      Add testing that if multiple movePrimary's are sent to a shard, only the first one actually executes.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: