[CDRIVER-750] Queries sent to recovering members Created: 16/Jul/15 Updated: 05/Aug/15 Resolved: 21/Jul/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 0.90.0 |
| Fix Version/s: | 1.1.10 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
A recovering node (neither primary nor secondary) is treated as a secondary and can select be selected for queries with a non-PRIMARY read preference. |
| Comments |
| Comment by Githook User [ 05/Aug/15 ] | |||||||||||||||||||||||||||||
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: Merge branch 'master' into 1.2.0-dev
Conflicts: | |||||||||||||||||||||||||||||
| Comment by Githook User [ 05/Aug/15 ] | |||||||||||||||||||||||||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Recovering members are not master, not secondary. | |||||||||||||||||||||||||||||
| Comment by A. Jesse Jiryu Davis [ 21/Jul/15 ] | |||||||||||||||||||||||||||||
|
No need for forward-port: 1.2.x implements the Server Selection Spec which prohibits reading from recovering members, and tests that scenario. | |||||||||||||||||||||||||||||
| Comment by Githook User [ 21/Jul/15 ] | |||||||||||||||||||||||||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Recovering members are not master, not secondary. | |||||||||||||||||||||||||||||
| Comment by A. Jesse Jiryu Davis [ 16/Jul/15 ] | |||||||||||||||||||||||||||||
|
Reproduce with MockupDB:
If you see a query logged with the "RECOVERING" label, the driver incorrectly selected the recovering member for a query. |