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

Make CSOT feature-gated behavior the default

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • 2.0.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: