-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.2
-
Component/s: Sharding
-
None
-
Sharding
-
ALL
-
-
Sharding 2018-11-05
Attempting to move primary from a 4.0 shard to a 3.6 shard fails with the following error:
[js_test:repro] 2018-09-18T11:17:24.243-0400 c20022| 2018-09-18T11:17:24.239-0400 I SHARDING [conn23] clone failed{ operationTime: Timestamp(1537283844, 6), ok: 0.0, errmsg: "Failed to parse: { find: "coll", snapshot: true, noCursorTimeout: true, $db: "test" }. Unrecognized field 'snapshot'.", code: 9, codeName: "FailedToParse", $gleStats: { lastOpTime: { ts: Timestamp(1537283844, 6), t: 1 }, electionId: ObjectId('7fffffff0000000000000001') }, $configServerState: { opTime: { ts: Timestamp(1537283844, 4), t: 1 } }, $clusterTime: { clusterTime: Timestamp(1537283844, 6), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } } } ... [js_test:repro] 2018-09-18T11:17:24.257-0400 assert failed : { [js_test:repro] 2018-09-18T11:17:24.257-0400 "ok" : 0, [js_test:repro] 2018-09-18T11:17:24.258-0400 "errmsg" : "clone failed", [js_test:repro] 2018-09-18T11:17:24.258-0400 "code" : 96, [js_test:repro] 2018-09-18T11:17:24.258-0400 "codeName" : "OperationFailed", [js_test:repro] 2018-09-18T11:17:24.258-0400 "lastCommittedOpTime" : Timestamp(1537283844, 5), [js_test:repro] 2018-09-18T11:17:24.258-0400 "operationTime" : Timestamp(1537283844, 5), [js_test:repro] 2018-09-18T11:17:24.258-0400 "$clusterTime" : { [js_test:repro] 2018-09-18T11:17:24.258-0400 "clusterTime" : Timestamp(1537283844, 5), [js_test:repro] 2018-09-18T11:17:24.258-0400 "signature" : { [js_test:repro] 2018-09-18T11:17:24.258-0400 "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), [js_test:repro] 2018-09-18T11:17:24.259-0400 "keyId" : NumberLong(0) [js_test:repro] 2018-09-18T11:17:24.259-0400 } [js_test:repro] 2018-09-18T11:17:24.259-0400 } [js_test:repro] 2018-09-18T11:17:24.259-0400 } [js_test:repro] 2018-09-18T11:17:24.259-0400 doassert@src/mongo/shell/assert.js:20:14 [js_test:repro] 2018-09-18T11:17:24.259-0400 assert@src/mongo/shell/assert.js:150:9 [js_test:repro] 2018-09-18T11:17:24.259-0400 ShardingTest/this.ensurePrimaryShard@src/mongo/shell/shardingtest.js:957:9 [js_test:repro] 2018-09-18T11:17:24.259-0400 @/home/tess/repro.js:19:1 [js_test:repro] 2018-09-18T11:17:24.259-0400 @/home/tess/repro.js:1:2