Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Repl 2023-09-18, Repl 2023-10-02
Description
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;
|
}
|
Attachments
Issue Links
- is related to
-
SERVER-76954 Support write concern and handle write concern errors on mongos
-
- Closed
-