How to make sure that we read and write into the master
cluster, what configuration settings need to be done
In order to avoid concurrency ,one possibility is to read and write to the master cluster of our hosted mongo DB .
We are little un aware of the setting s to be done for this issue .
Would be great if you could please help
No .I am unaware of the tag sets .Could you please let me know the purpose of the tag sets ?
Please let me know !!Check out these URLs:
https://docs.mongodb.com/manual/core/tag-aware-sharding/
https://docs.mongodb.com/manual/tutorial/configure-replica-set-tag-sets/
Cheers.
Hi Hyndavi,
By master cluster, do you mean Master Slave
Replication?
As the master-slave
replication has been deprecated and replaced by Replica sets
since version 3.2.
In a Replica set, the primary node receives all read and write operations by default. However , you can specify the Read Preference to route read operations within members of replica set.
Could you please provide the following information:
Regards,
Pooja
Hi Hyndavi,
Version 2.1 seems to be a implausible version as MongoDB 2.1 was an unstable server release from 2012. So I am afraid that this may not be a right version.
Please confirm your MongoDB server version by issuing db.version() command on your mongo shell.
we are deploying through replica sets within kubernetes open stack environment !!
It would also be of great help in understanding your exact problem, if you could provide more details about the specific issue you are facing.
Regards,
Pooja