Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
ALL
-
v4.0
-
-
Storage NYC 2018-06-18
Description
A write concern error normally results in a successful command (ok: 1) and a writeConcernError document. But in recent 4.1 builds it results in a command failure (ok: 0) as well for the dropDatabase command, making it inconsistent with other commands.
The result is that a driver may throw the wrong exception type. For example, the Java driver will throw a MongoCommandException instead of a MongoWriteConcernException. This causes several write concern-related regression tests to fail.
Attachments
Issue Links
- is depended on by
-
JAVA-2868 Re-enable write concern tests for dropDatabase command
-
- Closed
-