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

Raise an actionable error message when retryWrites fails due to using an unsupported storage engine

    XMLWordPrintableJSON

Details

    • Task
    • Status: Implementing
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      When a retryable write fails with error code 20 and an error message starting with "Transaction numbers" drivers must change the error message to:

      "This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string."

      Before raising the error back to the application. See this spec change for further details.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scott.lhommedieu@mongodb.com Scott L'Hommedieu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: