[SERVER-908] addshard could be less strict in attribute checking Created: 26/Jan/10  Updated: 12/Jul/16  Resolved: 26/Jan/10

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 1.3.5

Type: Improvement Priority: Trivial - P5
Reporter: Douglas Hunter Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu + mongodb 1.3.1


Participants:

 Description   

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"
}



 Comments   
Comment by auto [ 26/Jan/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: make addshard less strict SHARDING-75
http://github.com/mongodb/mongo/commit/1ed6940015c5b54acc6452c539a93ae8fa2e67e1

Generated at Thu Feb 08 02:55:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.