-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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; }
- is related to
-
SERVER-76954 Support write concern and handle write concern errors on mongos
- Closed