mongoc_cluster_stream_for_server should not BSON_ASSERT on passed-in server_id

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.18.0, 1.18.0-alpha
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      mongoc_cluster_stream_for_server is called by user-facing methods like mongoc_client_command_simple_with_server_id. Rather than calling BSON_ASSERT and crash a user program, we should instead return a reasonable error if they pass in 0.

              Assignee:
              Samantha Ritter (Inactive)
              Reporter:
              Samantha Ritter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: