js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 XXX Calling runCommand for cmd: {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 "query" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 "explain" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 "findAndModify" : "index_partial_read_ops",
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 "query" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 "x" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 "$gt" : 1
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.810+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "a" : 1
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "update" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "$inc" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "x" : 1
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "verbosity" : "executionStats"
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "$readPreference" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 "mode" : "secondary"
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.811+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 "$clusterTime" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 "clusterTime" : Timestamp(1501607738, 6),
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 "signature" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 "hash" : BinData(0,"xb3GEt3OVglybQfgdX6R+luXVzA="),
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 "keyId" : NumberLong("6449356074590928897")
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 XXX runCommandWith recieved: {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.812+0000 "ok" : 0,
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "errmsg" : "Explain for findAndModify failed: { ok: 0.0, errmsg: \"Explain's child command cannot run on this node. Are you explaining a write command on a secondary?\" }",
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "code" : 96,
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "codeName" : "OperationFailed",
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "$clusterTime" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "clusterTime" : Timestamp(1501607738, 6),
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "signature" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "hash" : BinData(0,"xb3GEt3OVglybQfgdX6R+luXVzA="),
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 "keyId" : NumberLong("6449356074590928897")
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.813+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 "operationTime" : Timestamp(1501607738, 6)
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 2017-08-01T17:15:38.609+0000 E QUERY [thread1] Error: explain failed: {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 "ok" : 0,
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 "errmsg" : "Explain for findAndModify failed: { ok: 0.0, errmsg: \"Explain's child command cannot run on this node. Are you explaining a write command on a secondary?\" }",
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 "code" : 96,
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.814+0000 "codeName" : "OperationFailed",
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 "$clusterTime" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 "clusterTime" : Timestamp(1501607738, 6),
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 "signature" : {
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 "hash" : BinData(0,"xb3GEt3OVglybQfgdX6R+luXVzA="),
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 "keyId" : NumberLong("6449356074590928897")
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 }
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 },
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 "operationTime" : Timestamp(1501607738, 6)
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 } :
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.815+0000 _getErrorWithCode@src/mongo/shell/utils.js:25:13
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.816+0000 throwOrReturn@src/mongo/shell/explainable.js:31:1
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.816+0000 constructor/this.findAndModify@src/mongo/shell/explainable.js:144:20
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.816+0000 @jstests/core/index_partial_read_ops.js:72:15
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.816+0000 @jstests/core/index_partial_read_ops.js:10:2
[js_test:index_partial_read_ops] 2017-08-01T17:15:38.816+0000 failed to load: jstests/core/index_partial_read_ops.js