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

Database created from Ebs snapshot has error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.8
    • Component/s: None
    • Labels:
      None
    • ALL

      I took a snapshot of the EBS disk holding my data. However when I create a new volume from this snapshot and use this volume to start mongodb I get the following error

      Sat Dec 21 21:54:28.724 [conn51] end connection 10.33.200.5:33359 (8 connections now open)
      Sat Dec 21 21:54:29.623 [initandlisten] connection accepted from 10.33.200.5:33370 #52 (9 connections now open)
      Sat Dec 21 21:54:29.625 [conn52] end connection 10.33.200.5:33370 (8 connections now open)
      Sat Dec 21 21:54:30.269 [conn3] end connection 10.32.42.126:47846 (7 connections now open)
      Sat Dec 21 21:54:30.274 [initandlisten] connection accepted from 10.32.42.126:47848 #53 (8 connections now open)
      Sat Dec 21 21:54:30.275 [conn53] authenticate db: local

      { authenticate: 1, nonce: "f9549b094de37ad8", user: "__system", key: "206fada6f43b57d947056aa377aea168" }

      Sat Dec 21 21:54:33.765 [initandlisten] connection accepted from 88.66.193.89:53930 #54 (9 connections now open)
      Sat Dec 21 21:54:33.810 [conn54] authenticate db: priceapi_production

      { authenticate: 1, nonce: "282d04c2c15bc917", user: "priceapi_production", key: "bf6456e4b47ec36c4dbcdbe1fca91e2f" }

      Sat Dec 21 21:54:34.494 [initandlisten] connection accepted from 10.33.200.5:33487 #55 (10 connections now open)
      Sat Dec 21 21:54:34.495 [initandlisten] connection accepted from 10.33.200.5:33488 #56 (11 connections now open)
      Sat Dec 21 21:54:34.496 [conn55] end connection 10.33.200.5:33487 (10 connections now open)
      Sat Dec 21 21:54:34.497 [conn56] end connection 10.33.200.5:33488 (9 connections now open)
      Sat Dec 21 21:54:37.697 [initandlisten] connection accepted from 10.33.200.5:33561 #57 (10 connections now open)
      Sat Dec 21 21:54:37.699 [conn57] end connection 10.33.200.5:33561 (9 connections now open)
      Sat Dec 21 21:54:37.861 [conn13] Assertion: 10334:BSONObj size: 0 (0x00000000) is invalid. Size must be between 0 and 16793600(16MB) First element: EOO
      0xdc7f71 0xd8963b 0xd89b7c 0x6e8f49 0x8b67fc 0xa77b9f 0xa7b44a 0xa74c41 0xa79ffe 0xa7d10e 0x9ef5d4 0x9f08f2 0x6f0350 0xdb478e 0x7fbbcafa4851 0x7fbbca34711d
      /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdc7f71]
      /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd8963b]
      /usr/bin/mongod() [0xd89b7c]
      /usr/bin/mongod(_ZNK5mongo7BSONObj14_assertInvalidEv+0x5a9) [0x6e8f49]
      /usr/bin/mongod(_ZN5mongo11BasicCursor7currentEv+0x5c) [0x8b67fc]
      /usr/bin/mongod(_ZNK5mongo21ResponseBuildStrategy7currentEbPNS_13ResultDetailsE+0x11f) [0xa77b9f]
      /usr/bin/mongod(_ZN5mongo20OrderedBuildStrategy11handleMatchEPNS_13ResultDetailsE+0xaa) [0xa7b44a]
      /usr/bin/mongod(_ZN5mongo20QueryResponseBuilder8addMatchEv+0xb1) [0xa74c41]
      /usr/bin/mongod(_ZN5mongo23queryWithQueryOptimizerEiRKSsRKNS_7BSONObjERNS_5CurOpES4_S4_RKN5boost10shared_ptrINS_11ParsedQueryEEES4_RKNS_12ChunkVersionERNS7_10scoped_ptrINS_25PageFaultRetrya
      bleSectionEEERNSG_INS_19NoPageFaultsAllowedEEERNS_7MessageE+0x3be) [0xa79ffe]
      /usr/bin/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0x1b3e) [0xa7d10e]
      /usr/bin/mongod() [0x9ef5d4]
      /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x392) [0x9f08f2]
      /usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x90) [0x6f0350]
      /usr/bin/mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x42e) [0xdb478e]
      /lib64/libpthread.so.0(+0x7851) [0x7fbbcafa4851]
      /lib64/libc.so.6(clone+0x6d) [0x7fbbca34711d]
      Sat Dec 21 21:54:37.866 [conn13] assertion 10334 BSONObj size: 0 (0x00000000) is invalid. Size must be between 0 and 16793600(16MB) First element: EOO ns:local.oplog.rs query:{ $query: {}, $
      orderby:

      { $natural: -1 }

      }

            Assignee:
            Unassigned Unassigned
            Reporter:
            dharshanr@scalegrid.net Dharshan Rangegowda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: