I setup a cluster with 3 Shards with MongoDB Cloud Manager,
When I migrated my database I migrated it to one shard instead of the whole cluster using the following connection string:
mongodb://user:pass@host1:27000,host2:27000,host3:27000/test-db?ReplicaSet=myShard_0
myShard_1 and myShard_2 are now empty with data size (4.0K)
now after I setup 3 mongos I tried to connect my application to the 3 mongos (connect it to the whole cluster
mongodb://user:pass@mongos1:27017,mongos2:27017,mongos3:27017/test-db
the connection has been accepted but my application (parse) can't gather data I receive this info "You have no classes yet"
Although mongos1 is hosted on the myshard_0
Why is this happening?
I setup a cluster with 3 Shards with MongoDB Cloud Manager,
When I migrated my database I migrated it to one shard instead of the whole cluster using the following connection string:
myShard_1andmyShard_2are now empty with data size (4.0K)now after I setup 3 mongos I tried to connect my application to the 3 mongos (connect it to the whole cluster
the connection has been accepted but my application (parse) can't gather data I receive this info "You have no classes yet"
Although
mongos1is hosted on themyshard_0Why is this happening?