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

Clients don't reconnect after primary step down

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.4
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: