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

Add a query parameter to limit the time an operation runs

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Connection Management
    • Labels:
      None

      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

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

              Created:
              Updated:
              Resolved: