[CDRIVER-68] Add read preference when connecting to replica sets. Created: 25/May/11 Updated: 11/Nov/13 Resolved: 11/Nov/13 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.90.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kyle Banker | Assignee: | Gregor Macadam |
| Resolution: | Done | Votes: | 6 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Comments |
| Comment by Christian Hergert [ 11/Nov/13 ] |
|
In the new C driver[1] this is configured using the MongoDB connection string. The new driver is a new API and ABI, but does support this feature. |
| Comment by auto [ 03/Jul/12 ] |
|
Author: {u'date': u'2012-07-02T14:51:49-07:00', u'name': u'Zhehao Mao', u'email': u'zhehao.mao@gmail.com'}Message: |
| Comment by Zhehao Mao [ 02/Jul/12 ] |
|
I've implemented this and pushed to a separate branch called secondary. The addition of read preference changes the function signature of mongo_connect, so I'm not sure whether we want to commit this to master right away. |
| Comment by Kyle Banker [ 29/Dec/11 ] |
|
Yes, this is still open. Should get a chance to add this support in the next couple weeks. |
| Comment by Colin Davis [ 28/Dec/11 ] |
|
Is this still an open issue? |