Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2247

Add tests for non-retryable handshake errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Unknown
    • Resolution: Unresolved
    • None
    • Retryability
    • Needed

    Description

      Summary

      DRIVERS-746 introduced spec language around retrying handshake errors, and there is still some ongoing discussion regarding whether that specification is complete. Regardless of the specific criteria for retryable errors, it is clear that not all handshake errors should be retryable (depending on the error type as well as the retryable reads/writes client settings); however, there are currently no spec tests for asserting that a driver should not retry particular handshake errors given some set of conditions. This could result in driver implementations that incorrectly retry on every handshake error regardless of error type, code, or client retryability settings.

      Is this ticket only for tests?

      Yes

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daria.pardue@mongodb.com Daria Pardue
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: