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

mongoc_cluster_node_reconnect must always destroy server description?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Mac OSX Yosemite

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: