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

Temporary write failure does not disconnect node

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

      I don't have a repro for this - discovered this hunting down another issue:

      However, browsing the code - especially _mongoc_cluster_run_command() - you can see the expectation form mongoc_stream_writev() is the same as from _mongoc_buffer_append_from_stream(): disconnect from the node on failure.

      There is only one caller of mongoc_stream_writev() that will explicitly disconnect the node: mongoc_cluster_sendv_to_server().

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: