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

Replace use of ScopedDbConnection in _configsvrMovePrimary with Shard because it fails clone without retrying NotMaster errors from a shard

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Sharding
    • ALL
    • 21

      This is the code that must be replaced with Shard: https://github.com/mongodb/mongo/blob/5c7a7ca7ec6fc123882e0feed80d95c3431a47f5/src/mongo/db/s/config/configsvr_move_primary_command.cpp#L190-L243 ShardRemote has a retry policy, whereas the db client does not (not ASIO).

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: