-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
The write concern w:0 has special meaning for write commands - suppress all output, since the client doesn't care. This currently interacts badly with wrapping the returned response in the shell, for example:
Bulk results probably have the same issues.
> db.coll.setWriteConcern({ w : 0 }) > db.coll.insert({ _id : 0, hello : "world" }) WriteResult({ "nInserted" : NaN })
- related to
-
SERVER-12576 Human readable Bulk state and SingleWriteResult
- Closed