[CDRIVER-743] Type remains ReplicaSetWithPrimary if primary steps down and changes setName Created: 14/Jul/15 Updated: 12/Aug/15 Resolved: 17/Jul/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.2-beta0 |
| 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 |
|
Bug in unreleased implementation of Server Discovery And Monitoring Spec, in the C Driver's implementation of the subroutine that the spec calls updateRSWithPrimaryFromMember. 1. Discover primary, topology type is ReplicaSetWithPrimary Expected: server is removed and topology type changes to ReplicaSetNoPrimary Actual: server is removed but topology type remains ReplicaSetWithPrimary |
| Comments |
| Comment by Githook User [ 17/Jul/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: If primary steps down and changes its set name between ismaster calls, change topology type from ReplicaSetWithPrimary |