Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2348

Make CSOT feature-gated behavior the default

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Needed

      Certain CSOT behavior is "feature-gated" in pre-2.0 versions of the driver when Timeout is declared:

      1. Retrying all operations as many times as the context allows
      2. Automatic calculation and appension of “maxTimeMS” 
      3. Using the min RTT as a threshold for “short-circuiting” (described in the “Command Execution” section)

      In 2.0, fully remove all deprecated options and methods, and make the above behaviors the default (not gated by the presence of Timeout).

      Definition of done:

      • Update connectTimeoutMS to cover all blocking operations during connection establishment, including MongoDB handshake and auth.
      • Remove all deprecated timeout options.
      • All behavior conditionally enabled by the presence of a timeoutMS configuration should be the new default behavior.

            Assignee:
            preston.vasquez@mongodb.com Preston Vasquez
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: