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

localThresholdMS should default to 15 milliseconds

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.5, 1.6.1
    • 1.5.4, 1.6.0
    • libmongoc
    • None

    Description

      The server selection spec states that localThresholdMS should default to 15 milliseconds, but MONGOC_TOPOLOGY_LOCAL_THRESHOLD_MS is defined as 15000 (i.e. 15 seconds). In practice, this causes mongoc_topology_description_suitable_servers() to append most every server to the list before random selection.

      Attachments

        Activity

          People

            jmikola@mongodb.com Jeremy Mikola
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: