-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:MongoDB 1.7.5 ; doesn't occur with 1.6.5
-
ALL
I suspect this is a Java driver issue rather than a core server .... I'll look into it with other drivers later to confirm.
This is with Java Driver 2.4 against MongoDB 1.7.5, when setting any w value for WriteConcern the write succeeds, but the returned WriteResult is:
{ "n" : 0 , "connectionId" : 2 , "wnote" : "no write has been done on this connection" , "wtime" : 0 , "err" : null , "ok" : 1.0}See attached test case for demonstration.