Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3136

Investigate changes in SERVER-66479: Create an error label indicating if a retriable error is "definite".

    XMLWordPrintable

Details

    • Investigation
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • No versions
    • None
    • None

    Description

      Original Downstream Change Summary

      Commands which failed with the RetryableWriteError label can now also return a new NoWritesPerformed error label if no writes were performed during the operation of that command.

      Description of Linked Ticket

      Some errors from mongodb indicate that an operation was definitely not performed; This includes the retriable error NotWritablePrimary. Other errors indicate the operation may or may not have been performed, or partially performed in the case of non-transactional multi- or bulk- writes. For the purpose of returning the most informative error from the driver in a retriable write situation, we should have a label indicating the error is "definite" – that is, no writes were performed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              backlog-server-pm Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: