-
Type: Bug
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.2
-
Component/s: Internal Code
-
None
-
Environment:linux
-
ALL
-
Hi,
We have a mongodb sharded cluster which was having a sharded database named "mydb" and loaded 333GB of data.
Once the total data is loaded, we have stopped all the mongod processes for shards, mongod processes for config servers and mongos process on all routers.
Then we have taken snapshots of all the volumes of the cluster. Then we have created volumes from the snapshots.
We have mounted volumes on the corresponding shards, config servers and started the processes.
Observations:
All the shards came up and the data is in tact. able to see the records present in the shards.
Then started config servers and routers. Router is able to add only shard1 and when tried to add other shards getting the following error message.
mongos> db.runCommand(
{ addshard : "shard2/10.10.10.10:27018" });
{
"ok" : 0,
"errmsg" : "can't add shard shard2/10.10.10.10:27018 because a local database 'mydb' exists in another shard1:shard1/10.10.10.1:27018,10.10.10.2:27018,10.10.10.3:27018"
}
Please let me know if we are missing anything here?