|
There are a couple of challenge for this issues.
1) test environment
This requires setting up a replica set, to verify that the tagging is actually working. There's no such facility for the C driver, and nothing has emerged as of yet from the other drivers, although this is a primary concern across the board. It's likely that something will emerge with a server or HTTP REST interface, but this hasn't yet happened, its non-trivial and it's probably a prereq.
2) basic read prefernces
The C driver yet support basic read preferences for replica sets (primary, secondary OK, secondary only, etc.). This was the big push for the mainstream 2.2 drivers, but the C driver is of lower priority at present. We should do basic read preference first, but keep tagging in mind.
3) API interface
Both basic read preferences and tags will require an API change. We should only have one API change if we can managed that, instead of two API changes.
We should link this ticket and basic read preferences together.
|