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

on addShard, don't error if replica set config doesn't explicitly have default port

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication, Sharding
    • None

      If you run an addShard command and give it a host with the port 27017, but in the replica set configuration the port isn't set explicitly, addShard thinks the two host aren't the same and returns an error.

      Relevant code is in addShard in s/grid.cpp

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: