[CXX-1301] Read preference constants should be mapped to libmongoc constants Created: 06/Apr/17 Updated: 05/Jul/17 Resolved: 23/May/17 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | David Golden | Assignee: | Samuel Rossi (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The constants for mode (k_primary_preferred) hard code values. This risks being out of sync with libmongoc if they ever change their values. We should map our values to theirs using their constants, as we do for read concerns. |
| Comments |
| Comment by Githook User [ 23/May/17 ] |
|
Author: {u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}Message: |