Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5770

Remove logging of deprecated timeouts for CSOT in Alpha

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.3.2
    • Affects Version/s: None
    • Component/s: CSOT
    • None
    • None
    • Java Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      After upgrading the Java Driver to version 5.2.0, the following log message appears at the WARN level:

      msg: Use of deprecated timeout option: 'socketTimeoutMS'. Prefer 'timeoutMS' instead.

      This message is misleading because timeoutMS is part of the Client-Side Operations Timeout (CSOT) feature, which is still in alpha. Logging such messages prematurely could confuse users and detract from the intended alpha phase of CSOT. This message should not be logged at this stage.

      Acceptance Criteria:

      • The WARN-level log message forĀ 
        "sockettimeoutms", waitqueuetimeoutms", "wtimeoutms" are no longer displayed.
      • Fix is backported to relevant branches where CSOT alpha is present. (5.2, 5.3)

            Assignee:
            slav.babanin@mongodb.com Slav Babanin
            Reporter:
            slav.babanin@mongodb.com Slav Babanin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: