Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1905

Indicate which server operations were attempted on and attempt number in driver-surfaced exceptions

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.0.rc0, 2.10.1
    • Affects Version/s: None
    • Component/s: None
    • None

      To aid in troubleshooting exceptions surfaced from the driver to the application, we would like all such exceptions that are a result of an operation to contain the following additional information:

      • The server to which the operation was sent
      • Whether the first attempt failed or a retry

      While implementing this change, the following additional retry logic-related aspects were also added to the additional diagnostics:

      • If retryable reads/writes are enabled but the retry is not performed, such as due to the new server not supporting retries, this is stated
      • If the retry is performed but original exception is raised, this is stated

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: