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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Sharding
    • None
    • ALL
    • 21

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              dianna.hohensee@mongodb.com Dianna Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: