addshard could be less strict in attribute checking

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 1.3.5
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Environment:
      Ubuntu + mongodb 1.3.1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      use admin
      db.runCommand(

      {addshard:"localhost:3332", allowLocal:1}

      );

      fails with
      {
      "ok" : 0,
      "errmsg" : "can't use localhost as a shard since all shards need to communicate. allowLocal to override for testing"
      }

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Douglas Hunter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: