Append WCE to top-level response even when commands fail

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-04-14, CAR Team 2025-04-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The RawResponsesResult::appendRawResponses utility function attaches the response or error status of each shard via the shard connection string to a top-level field named raw in the output.

      If a shard returns a write concern error, the utility also attaches this error to the top level (similar to ok or code).

      The goal of this ticket is to attach the write concern error even if the command fails on a shard.

              Assignee:
              Antonio Fuschetto
              Reporter:
              Antonio Fuschetto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: