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

Handle mongos retryable timeseries update WriteConcernErrors

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Repl 2023-09-18, Repl 2023-10-02

      See the TODO here (note that the TODO number will have changed).

      Code that roughly looks like the following should work, although testing may be a bit hard:

      else if (response.isWriteConcernErrorSet()) {
          auto wceStatus = response.getWriteConcernError()->toStatus();
          BulkWriteWriteConcernError wce(wceStatus.code(), wceStatus.reason());
          replyInfo.wcErrors = wce;
      }
      

            Assignee:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: