-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
When I insert single document with writeconcern w: with value bigger than my replSet count and I use wtimeout, I (of course) get error message:
WriteResult({ "nInserted" : 1, "writeConcernError" : { "code" : 64, "errInfo" : { "wtimeout" : true }, "errmsg" : "waiting for replication timed out" } })
It would be nice to have value there, what tell how many acknowledges WAS returned before wtimeout occurred.
Like:
WriteResult({ "nInserted" : 1, "nAcknowledged" : 3, "writeConcernError" : { "code" : 64, "errInfo" : { "wtimeout" : true }, "errmsg" : "waiting for replication timed out" } })
- duplicates
-
SERVER-15268 Write Commands should return replication information (writtenTo)
- Closed