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

Temporary write failure does not disconnect node

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.2-rc0
    • 1.2.0
    • None
    • None

    Description

      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().

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: