[SERVER-1043] The same shard can be added multiple times Created: 22/Apr/10  Updated: 12/Jul/16  Resolved: 22/Apr/10

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

Type: Bug Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Calling addShard multiple times results in:

> db.runCommand(

{listshards:1}

)
{
"shards" : [

{ "_id" : "shard0", "host" : "localhost:10000" }

,

{ "_id" : "shard1", "host" : "localhost:10000" }

,

{ "_id" : "shard2", "host" : "localhost:10001" }

],
"ok" : 1
}

...which I don't think makes a lot of sense.



 Comments   
Comment by auto [ 22/Apr/10 ]

Author:

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

Message: can't add the same shard/host multiple times SERVER-1043
http://github.com/mongodb/mongo/commit/48fdb9c1517bc576e45a1cf3c1f2356d30ae5e78

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