--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/zfXbNi-TWG8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/e708fa25-6085-4e8f-93dd-72b95369e25a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/zfXbNi-TWG8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/42fb136e-1d9c-43f6-9945-c380899b0cc6%40googlegroups.com.
If you start from an empty set-up then is not much you can do besides movePrimary.Be sure to check the documentation because there are more steps to do after you issued that command.If you don't have the possibility to start from a first replica-set with all db's already created en then start the sharding, then there is not much you can do.I have been looking a bit deeper in to this and I can not find a way to set the primary-shard.Maybe there is a hidden gem someone knows of.Kind regardsChris
On 1 September 2015 at 19:39, Darshan Shah <dee...@gmail.com> wrote:
I am testing this and realized that movePrimary command will need to be run every time a DB is created.So I went with creating a "global" shard as the first shard that does not have any tags assigned.In spite of that, new DBs get assigned a different primary shard which is not this first "global" shard.Any ideas what might be going on or what I might be doing wrong?How do I confirm that the shard is indeed the first one added?Thanks!
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/zfXbNi-TWG8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.