Poor error message when trying to add shard with duplicate DB name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.2
    • Component/s: Sharding
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When running a sharded cluster that contains database 'foo', doing 'addShard' with a server that already contains a database named 'foo', we get an unhelpful error:

      "couldn't connect to new shard mongos connectionpool: connect failed repl2/airtop.local:37017 : connect failed to set repl2/airtop.local:37017"

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: