|
Here's logging of one failure case:
Server: localhost:27017
|
Start: 08:18:39.500
|
Command: { "insert" : "causal", "ordered" : true, "documents" : [{ "_id" : 580 }], "$db" : "test", "lsid" : { "id" : { "$binary" : "UJp6HUyiSEWnCEz2XAtyxA==", "$type" : "04" } } }
|
End: 08:18:39.500
|
Response: { "n" : 1, "opTime" : { "ts" : { "$timestamp" : { "t" : 1504181919, "i" : 9 } }, "t" : { "$numberLong" : "66" } }, "electionId" : { "$oid" : "7fffffff0000000000000042" }, "ok" : 1.0, "operationTime" : { "$timestamp" : { "t" : 1504181919, "i" : 9 } } }
|
|
Server: localhost:27018
|
Start: 08:18:39.553
|
Command: { "find" : "causal", "filter" : { "_id" : 580 }, "limit" : 1, "singleBatch" : true, "readConcern" : { "level" : "local", "afterClusterTime" : { "$timestamp" : { "t" : 1504181919, "i" : 9 } } }, "$db" : "test", "lsid" : { "id" : { "$binary" : "UJp6HUyiSEWnCEz2XAtyxA==", "$type" : "04" } }, "$readPreference" : { "mode" : "secondary" } }
|
Failure: Command failed with error 72: 'readConcern afterClusterTime must not be greater than clusterTime value' on server jeff.fios-router.home:27018. The full response is { "ok" : 0.0, "errmsg" : "readConcern afterClusterTime must not be greater than clusterTime value", "code" : 72, "codeName" : "InvalidOptions" }
|
|