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

TTL index asserts on 2.4 secondary

    • Fully Compatible
    • ALL

      Seeing these asserts after upgrading a secondary from 2.2.3 to 2.4. Looks like it's trying to delete records on the secondary.

      Thu Mar 21 09:56:26.212 [TTLMonitor] Assertion: 13312:replSet error : logOp() but not primary?
      0xdcae01 0xd8c4cb 0xa66b33 0xa63df9 0xa75e64 0xc40351 0xc415b5 0xd8f0c3 0xd8fb74 0xe13709 0x3ee8407851 0x3ee80e811d
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdcae01]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd8c4cb]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod() [0xa66b33]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo5logOpEPKcS1_RKNS_7BSONObjEPS2_Pbb+0x49) [0xa63df9]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo13deleteObjectsEPKcNS_7BSONObjEbbbPNS_11RemoveSaverE+0x10d4) [0xa75e64]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo10TTLMonitor10doTTLForDBERKSs+0xfe1) [0xc40351]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo10TTLMonitor3runEv+0x345) [0xc415b5]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0xc3) [0xd8f0c3]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x74) [0xd8fb74]
      /data/dist/mongodb-linux-x86_64-2.4.0/bin/mongod() [0xe13709]
      /lib64/libpthread.so.0() [0x3ee8407851]
      /lib64/libc.so.6(clone+0x6d) [0x3ee80e811d]
      Thu Mar 21 09:56:26.215 [TTLMonitor] ERROR: error processing ttl for db: 4d3874ade528c81a1fcdd511 13312 replSet error : logOp() but not primary?

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            steve.briskin Steve Briskin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: