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

Assert in the secondary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      AWS, M1.Large replica set
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Assert on the secondary of a brand new cluster. The user claims to only have typed "use <dbname>" which caused an assert in the secondary. I have attached the full logs for you.

      Tue Sep 17 19:36:19.657 [conn10402] authenticate db: local

      { authenticate: 1, nonce: "420a32d3262a1deb", user: "__system", key: "332123ac38f870a9457839370b92c152" }

      Tue Sep 17 19:36:27.128 [conn10401] end connection 10.190.206.142:39617 (7 connections now open)
      Tue Sep 17 19:36:27.133 [initandlisten] connection accepted from 10.190.206.142:39620 #10403 (8 connections now open)
      Tue Sep 17 19:36:27.135 [conn10403] authenticate db: local

      { authenticate: 1, nonce: "1a53ac883fe2352d", user: "__system", key: "31e02825a3634003c304d7266e7a54ed" }

      Tue Sep 17 19:36:29.083 [repl prefetch worker] warning database /mongodb_data edspringPROD could not be opened
      Tue Sep 17 19:36:29.083 [repl prefetch worker] DBException 13297: db already exists with different case other: [edSpringPROD] me [edspringPROD]
      Tue Sep 17 19:36:29.083 [repl writer worker 1] warning database /mongodb_data edspringPROD could not be opened
      Tue Sep 17 19:36:29.083 [repl writer worker 1] DBException 13297: db already exists with different case other: [edSpringPROD] me [edspringPROD]
      Tue Sep 17 19:36:29.083 [repl writer worker 1] ERROR: writer worker caught exception: db already exists with different case other: [edSpringPROD] me [edspringPROD] on: { ts: Timestamp 1379446589000|1, h: -4967349403741369875, v: 2, op: "c", ns: "edspringPROD.$cmd", o:

      { dropDatabase: 1.0 }

      }
      Tue Sep 17 19:36:29.083 [repl writer worker 1] Fatal Assertion 16360
      0xdc7f71 0xd87cf3 0xc1b29c 0xd95821 0xe10879 0x7f4004897851 0x7f4003c3a11d
      /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdc7f71]
      /usr/bin/mongod(_ZN5mongo13fassertFailedEi+0xa3) [0xd87cf3]
      /usr/bin/mongod(_ZN5mongo7replset14multiSyncApplyERKSt6vectorINS_7BSONObjESaIS2_EEPNS0_8SyncTailE+0x12c) [0xc1b29c]
      /usr/bin/mongod(_ZN5mongo10threadpool6Worker4loopEv+0x281) [0xd95821]
      /usr/bin/mongod() [0xe10879]
      /lib64/libpthread.so.0(+0x7851) [0x7f4004897851]
      /lib64/libc.so.6(clone+0x6d) [0x7f4003c3a11d]
      Tue Sep 17 19:36:29.086 [repl writer worker 1]

      ***aborting after fassert() failure

      Tue Sep 17 19:36:29.087 Got signal: 6 (Aborted).

      Tue Sep 17 19:36:29.090 Backtrace:
      0xdc7f71 0x6ce459 0x7f4003b84920 0x7f4003b848a5 0x7f4003b86085 0xd87d2e 0xc1b29c 0xd95821 0xe10879 0x7f4004897851 0x7f4003c3a11d
      /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdc7f71]
      /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x6ce459]
      /lib64/libc.so.6(+0x32920) [0x7f4003b84920]
      /lib64/libc.so.6(gsignal+0x35) [0x7f4003b848a5]
      /lib64/libc.so.6(abort+0x175) [0x7f4003b86085]
      /usr/bin/mongod(_ZN5mongo13fassertFailedEi+0xde) [0xd87d2e]
      /usr/bin/mongod(_ZN5mongo7replset14multiSyncApplyERKSt6vectorINS_7BSONObjESaIS2_EEPNS0_8SyncTailE+0x12c) [0xc1b29c]
      /usr/bin/mongod(_ZN5mongo10threadpool6Worker4loopEv+0x281) [0xd95821]
      /usr/bin/mongod() [0xe10879]
      /lib64/libpthread.so.0(+0x7851) [0x7f4004897851]
      /lib64/libc.so.6(clone+0x6d) [0x7f4003c3a11d]

        1. mongodassert.log
          4.65 MB
          Dharshan Rangegowda

            Assignee:
            joanna.cheng@mongodb.com Joanna Cheng
            Reporter:
            dharshanr@scalegrid.net Dharshan Rangegowda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: