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

CSOT: Deprecation of timeout configuration options

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      Description:

      This ticket addresses the deprecation of various configuration timeout options in favor of a unified timeoutMS parameter. The aim is to simplify and standardize timeout configurations across the drivers.

      Deprecation Details:

      • Configuration Timeout Options:
        • socketTimeoutMS
        • waitQueueTimeoutMS
        • wTimeoutMS

      These options are to be deprecated in favor of the more unified timeoutMS setting.

      • Deprecation of maxTime() in Iterable/Observable/Publisher/Flow:
        • ListDatabases
        • ListIndexes
        • ListCollections
        • ListCollectionNames
        • ListSearchIndexes
        • MapReduce
        • GridFS

      The maxTime setting in all these methods will be deprecated in favor of timeoutMS.

      • Additional Deprecations:
        • ConnectionString#getSocketTimeout()
        • ConnectionString#getMaxAwaitTime()
        • SocketSettings#readTimeout
        • SocketSettings#getReadTimeout
        • ConnectionPoolSettings#maxWaitTime
        • ConnectionPoolSettings#getMaxWaitTime
        • CreateIndexOptions#maxTime

      These additional settings will also be deprecated and aligned with the timeoutMS configuration.

      Attachments

        Activity

          People

            Unassigned Unassigned
            slav.babanin@mongodb.com Slav Babanin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: