mongoc_cluster_node_reconnect must always destroy server description?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Mac OSX Yosemite
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      On a call to mongoc_cluster_node_reconnect() in mongoc-cluster.c, is it possible for

      • topology->single_threaded and
      • !(scanner_node->stream && cluster->requires_auth)

      to be true at the same time? Then mongoc_server_description_t *sd won't be set, but the function unconditionally calls mongoc_server_description_destroy() on function exit.

              Assignee:
              Unassigned
              Reporter:
              Kyle Suarez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: