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

Add a query parameter to limit the time an operation runs

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Connection Management
    • None

    Description

      Add a new query parameter, similar to maxTimeMS, with the purpose of limiting how long an operation runs from driver/client point of view.

      It could be a different parameter which acts like maxTimeMS on the backend and which acts like socket timeout on the client side.

      Socket timeout is a global setting and it does not work well when different operations have different SLA's within the application. maxTimeMS also is not reliable from client point of view as it can take longer than maxTimeMS to get an error.

      Here is the discussion related to this with Server team : https://jira.mongodb.org/browse/SERVER-31578

      Attachments

        Activity

          People

            Unassigned Unassigned
            nmayakuntla Naga Mayakuntla
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: