Handle mongos retryable timeseries update WriteConcernErrors

XMLWordPrintableJSON

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

      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
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: