localThresholdMS should default to 15 milliseconds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.5, 1.6.1
    • Affects Version/s: 1.5.4, 1.6.0
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: