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

Replicated DeleteIndexes shouldn't fail on missing index

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL

      [js_test:backup_restore] 2015-10-14T22:26:44.886+0000 d23013| 2015-10-14T22:26:44.885+0000 I COMMAND  [repl writer worker 2] CMD: dropIndexes db1.coll1
      [js_test:backup_restore] 2015-10-14T22:26:44.887+0000 d23013| 2015-10-14T22:26:44.885+0000 E REPL     [repl writer worker 2] Failed command { deleteIndexes: "coll1", index: { indexed_insert_multikey: 1.0 } } on db1 with status InvalidOptions can't find index with key: { indexed_insert_multikey: 1.0 } during oplog application
      [js_test:backup_restore] 2015-10-14T22:26:44.888+0000 d23013| 2015-10-14T22:26:44.885+0000 F REPL     [repl writer worker 2] Error applying operation ({ ts: Timestamp 1444861593000|3, t: 1, h: -4187341676427100567, v: 2, op: "c", ns: "db1.$cmd", o: { deleteIndexes: "coll1", index: { indexed_insert_multikey: 1.0 } } }): InvalidOptions can't find index with key: { indexed_insert_multikey: 1.0 }
      [js_test:backup_restore] 2015-10-14T22:26:44.888+0000 d23013| 2015-10-14T22:26:44.886+0000 I -        [repl writer worker 2] Fatal Assertion 16359
      [js_test:backup_restore] 2015-10-14T22:26:44.888+0000 d23013| 2015-10-14T22:26:44.886+0000 I -        [repl writer worker 2]
      [js_test:backup_restore] 2015-10-14T22:26:44.888+0000 d23013|
      [js_test:backup_restore] 2015-10-14T22:26:44.888+0000 d23013| ***aborting after fassert() failure
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: