Hi there!
I am trying to create a user with the same name after dropping the database. Physically, there is no users in this database on mongod on the other shard. As a result of the following command, user is created only on the one shard, and applications throws unauthorised exceptions.
mongos>db.addUser("app","xxx"){
"singleShard" : "mongodb-sh2/mongodb02d.load.net:27017,mongodb02f.load.net:27017,mongodb02g.load.net:27017",
"n" : 0,
"lastOp" : NumberLong("5806174783460605953"),
"connectionId" : 98514,
"err" : null,
"ok" : 1
}
{
"user" : "app",
"readOnly" : false,
"pwd" : "9a72265ed14a1f833604151e412894d4",
"_id" : ObjectId("5093ad34b969a220a604e226")
}