-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Geo, Replication
-
None
-
ALL
-
Repl 18 (08/05/16), Repl 2016-08-29
During a patch build of the initial sync passthrough I hit:
[ReplicaSetFixture:job11:initsync] 2016-07-12T22:13:14.147+0000 I REPL [repl writer worker 0] applying op: { ts: Timestamp 1468361591000|15, t: 1, h: 2542148301098418867, v: 2, op: "i", ns: "test.system.indexes", o: { ns: "test.jstests_multikey_geonear", key: { a: "2d", b: 1.0 }, name: "a_2d_b_1" } } [ReplicaSetFixture:job11:secondary] 2016-07-12T22:13:13.960+0000 I REPL [repl writer worker 9] applying op: { ts: Timestamp 1468361593000|84, t: 1, h: -4942554982156627380, v: 2, op: "d", ns: "test.jstests_removec", o: { _id: ObjectId('57856b7855e214ddd20bcd51') } } [ReplicaSetFixture:job11:initsync] 2016-07-12T22:13:14.151+0000 I INDEX [repl writer worker 0] build index on: test.jstests_multikey_geonear properties: { v: 1, key: { a: "2d", b: 1.0 }, name: "a_2d_b_1", ns: "test.jstests_multikey_geonear" } [ReplicaSetFixture:job11:initsync] 2016-07-12T22:13:14.151+0000 I INDEX [repl writer worker 0] building index using bulk method [ReplicaSetFixture:job11:secondary] 2016-07-12T22:13:13.964+0000 I REPL [repl writer worker 13] applying op: { ts: Timestamp 1468361593000|88, t: 1, h: -8359439578022939280, v: 2, op: "d", ns: "test.jstests_removec", o: { _id: ObjectId('57856b7855e214ddd20bcd34') } } [ReplicaSetFixture:job11:primary] 2016-07-12T22:13:14.161+0000 I NETWORK [conn47] end connection 10.239.77.218:50990 (5 connections now open) [ReplicaSetFixture:job11:initsync] 2016-07-12T22:13:14.154+0000 F REPL [repl writer worker 0] writer worker caught exception: :: caused by :: 13068 geo field only has 1 element :: caused by :: { _id: 0.0, a: [ { b: 0.0 }, { c: { type: "Point", coordinates: [ 0.0, 0.0 ] } } ] } on: { ts: Timestamp 1468361591000|15, t: 1, h: 2542148301098418867, v: 2, op: "i", ns: "test.system.indexes", o: { ns: "test.jstests_multikey_geonear", key: { a: "2d", b: 1.0 }, name: "a_2d_b_1" } }
When initial sync tries to create the collection, it does not accept this index.
- depends on
-
SERVER-25332 Initial sync bootstrap needs to handle collection metadata changes idempotently
- Closed
- is depended on by
-
SERVER-24538 Make small_oplog_rs_initsync_static passthrough test to periodically run initial sync with data to sync
- Closed