Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
It would be useful to tag each instance of mongod.
This could be use by mongos or drivers to prefer some nodes in a replica set over others.
For example a tag could be dc1 and dc2 if the slaves of a replica set are distributed in two datacenters.
This is feature is a generalized version of SLAVE_OK with two tags SLAVE and MASTER