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

Make it easier for command paths to return early on writeConcern errors

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution

      As we discussed at the offsite, this could be accomplished by adding the writeConcern error info as ExtraErrorInfo on a WriteConcernfailed status and having the service entry point on mongos catch WriteConcernFailed and attach the writeConcern info to the response object.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: