Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-743

Type remains ReplicaSetWithPrimary if primary steps down and changes setName

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-beta0
    • Affects Version/s: 1.2.0
    • Component/s: libmongoc
    • None

      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
      2. In next ismaster response from primary it has become secondary and changed setName

      Expected: server is removed and topology type changes to ReplicaSetNoPrimary

      Actual: server is removed but topology type remains ReplicaSetWithPrimary

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: