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

do not retry reads if exception is SocketTimeoutException

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      from a prominent user:
      I don't think the driver should retry in the case of a SocketTimeoutException. It has the effect of
      1) creating confusion for client devs by not observing the timeout
      2) submitting a query 3 times to a database that's probably overloaded in some way

      I agree with this, it can create much more load on already overloaded DB.

      Attachments

        Activity

          People

            antoine Antoine Girbal
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: