Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Platforms 2018-05-07
Description
In SERVER-25765 we changed mongod to wait for write concern even if the command failed by throwing an exception. If that times out or otherwise fails it adds a "writeConcernError" field to the reply. Unfortunately, the exception handler then resets the reply to empty, removing that field along with any indication that the write concern was not honored.
Attachments
Issue Links
- related to
-
SERVER-25765 Commands should wait for write concern even if they throw an exception
-
- Closed
-
-
SERVER-34628 Remove appendCommandStatus() in favor of throwing exceptions
-
- Closed
-