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

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

    • Type: Icon: Investigation Investigation
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: