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

topology_changes_bump_topology_time.js wrongly repeats removeShard command

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-07-11
    • 53

      topology_changes_bump_topology_time.js repeats the removeShard command twice and expects the command to succeed, however, it should wait for the drain mode to finish, like convert_to_and_from_sharded.js with an extra added check, if the config server steps down, then removeShard could fail with ShardNotFound because the previous invocation managed to successfully remove the shard.

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: