implement joining behavior for movePrimary on shards

XMLWordPrintableJSON

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

      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
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: