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

Clients don't reconnect after primary step down

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.4
    • Affects Version/s: None
    • Component/s: None
    • None

      mongoc_cluster_t's have a try_sendv and a sendv method to actually write bytes for commands. For some reason we use try_sendv after the cluster is born, so we don't reconnect if select fails.

      That doesn't make any sense. We should just use regular cluster_sendv() in all cases.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: