-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
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().
- is related to
-
CDRIVER-810 mongoc_cluster_disconnect_node() doesn't disconnect it in single threaded mode
- Closed
- related to
-
CDRIVER-830 Exhaust cursors must destroy the stream if it hasn't finished
- Closed