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

Remove ShardRegistry::createConnection in favor of creating a RemoteCommandTargeter directly

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

      ShardRegistry::createConnection is used during addShard to create a detached Shard object corresponding to the servers we are in the process of trying to add. We use it only to get the RemoteCommandTargeter off it. We should instead just make a RemoteCommandTargeter directly, and no longer be in the business of having Shard objects for servers that aren't yet actually shards

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: