Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25057

Initial sync fails on 2d index build

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Geo, Replication
    • None
    • ALL
    • Repl 18 (08/05/16), Repl 2016-08-29

    Description

      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.

      https://evergreen.mongodb.com/task/mongodb_mongo_master_windows_64_2k8_debug_jsCore_small_oplog_rs_initsync_WT_82f742e09ddb00aa4229cfc512fa0b308e7a0eab_16_07_12_21_01_33

      Attachments

        Issue Links

          Activity

            People

              milkie@mongodb.com Eric Milkie
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: