Configurable localThresholdMS

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per server selection spec:

      "The default is 15 (milliseconds). It MUST be configurable at the client level. It MUST NOT be configurable at the level of a database object, collection object, or at the level of an individual query."

      The default 15ms is correct but hardcoded:

      https://github.com/mongodb/mongo-c-driver/blob/e62117d12a600f6cf61eb409933af6f92a3d7c22/src/mongoc/mongoc-cluster.c#L1457

      Must be added to URI parser. Must not be added to mongoc_read_prefs_t.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: