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

localThresholdMS should default to 15 milliseconds

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.5, 1.6.1
    • Affects Version/s: 1.5.4, 1.6.0
    • Component/s: libmongoc
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: