Investigate changes in SERVER-98461: findAndModify where query does not have shard key does not return WCE on failure

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Done
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      Original Downstream Change Summary

      findAndModify operations running in clusters now return the writeConcernError along with the original error when the operation failed.
      Previously, the writeConcernError field could be discarded in the result in some cases.
      The writeConcernError field in the response is still optional and is only present if the writeConcern for the findAndModify op could not be satisfied.

      Description of Linked Ticket

      null

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

                Created:
                Updated:
                Resolved: