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

Failure to reconnect in single-threaded mode

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.2-rc0
    • Affects Version/s: 1.2-rc0
    • Component/s: libmongoc
    • None

      Introduced here:

      https://github.com/mongodb/mongo-c-driver/commit/11760f877

      After a network read error, the driver correctly discards its socket. But in single-threaded mode it also destroys the topology scanner node. Without a scanner node, the driver cannot reconnect to the server on the next operation.

            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: