Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103580

Append WCE to top-level response even when commands fail

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: