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

Client Side Operations Timeout

    • Type: Icon: Epic Epic
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Retryability
    • None
    • 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?
    • Done
    • Client side operations Timeout: Async
    • Hide

      DRIVERS-555:
      NA

      Show
      DRIVERS-555: NA

      Useful Info

      Summary

      Allow users to configure the timeout on operations by using a single timeout setting.

      Motivation

      Users have an array of options governing timeouts:
      Driver timeouts: Server selection timeout, socket write timeout, socket read timeout, socket connect timeout
      Server timeouts: maxTimeMS, maxAwaitTimeMS, wTimeout.
      Users are often times unaware of the existence of all these settings and the effect they have on the timeout behavior of the driver and server. Due to this lack of awareness and understanding users often leave these settings at their defaults which is not necessarily what they desire in their timeout behaviors. Furthermore, timeout interaction with retryable writes compounds the situation. The timeout settings do not provide any clarity or reassurance of how long a user will wait for any given write or read.

      We should also determine if the desired behavior should be, retry as many times as possible within the defined time period.

      Cast of Characters

      Lead: Jeff Yemin
      Author: Divjot Arora
      POCs: Java, C, Go, Swift
      Product Owner:
       

      Documentation

      Scope Document
      Technical Design

            Assignee:
            Unassigned Unassigned
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: