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

assertion src/mongo/db/structure/btree/key.cpp:433

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.1
    • Component/s: Index Maintenance
    • Labels:
      None
    • ALL
    • Hide

      This happens very rarely on a tiny fraction of similar queries. The query that produced it was of the form:

      db.mycollection.find({ $and: [ { base_map_loc: [ 182, 156 ] }, { _id: { $ne: "s1588142_270" } } ] })
      

      where there is a geo2D index on base_map_loc with parameters {min:0, max:1024, bits:1}

      Show
      This happens very rarely on a tiny fraction of similar queries. The query that produced it was of the form: db.mycollection.find({ $and: [ { base_map_loc: [ 182, 156 ] }, { _id: { $ne: "s1588142_270" } } ] }) where there is a geo2D index on base_map_loc with parameters { min:0, max:1024, bits:1 }

      Got this assertion error, here is the log (not sure if the very first line is related to it or not):

      2014-07-11T06:00:22.319+0000 [conn491470] key seems to have moved in the index, refinding. 0:28b8000
      2014-07-11T06:00:22.330+0000 [conn452054] trprod_region_sector205.tr_region_sector205_map Assertion failure false src/mongo/db/structure/btree/key.cpp 433
      2014-07-11T06:00:22.531+0000 [conn452054] trprod_region_sector205.tr_region_sector205_map 0x11c0e91 0x1163109 0x1146f4e 0xf0bc8b 0xb681da 0xb6482d 0xa9dd4e 0xa9abbd 0xaa169c 0xaa1fab 0xd67e9f 0xd4c138 0xb97322 0xb99902 0x76b6af 0x117720b 0x7f29f53def18 0x7f29f46f0e0d 
       /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0x11c0e91]
       /usr/bin/mongod(_ZN5mongo10logContextEPKc+0x159) [0x1163109]
       /usr/bin/mongod(_ZN5mongo12verifyFailedEPKcS1_j+0x17e) [0x1146f4e]
       /usr/bin/mongod(_ZNK5mongo5KeyV16toBsonEv+0x19b) [0xf0bc8b]
       /usr/bin/mongod(_ZNK5mongo18BtreeInterfaceImplINS_12BtreeData_V1EE5keyAtEPKNS_17IndexCatalogEntryENS_7DiskLocEi+0x9a) [0xb681da]
       /usr/bin/mongod(_ZNK5mongo16BtreeIndexCursor6getKeyEv+0x3d) [0xb6482d]
       /usr/bin/mongod(_ZN5mongo9IndexScan4workEPm+0x6e) [0xa9dd4e]
       /usr/bin/mongod(_ZN5mongo10FetchStage4workEPm+0xad) [0xa9abbd]
       /usr/bin/mongod(_ZN5mongo18KeepMutationsStage4workEPm+0x3c) [0xaa169c]
       /usr/bin/mongod(_ZN5mongo10LimitStage4workEPm+0x5b) [0xaa1fab]
       /usr/bin/mongod(_ZN5mongo12PlanExecutor7getNextEPNS_7BSONObjEPNS_7DiskLocE+0xef) [0xd67e9f]
       /usr/bin/mongod(_ZN5mongo11newRunQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0x958) [0xd4c138]
       /usr/bin/mongod() [0xb97322]
       /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x442) [0xb99902]
       /usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x9f) [0x76b6af]
       /usr/bin/mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x4fb) [0x117720b]
       /lib64/libpthread.so.0(+0x7f18) [0x7f29f53def18]
       /lib64/libc.so.6(clone+0x6d) [0x7f29f46f0e0d]
      2014-07-11T06:00:22.566+0000 [conn452054] assertion 0 assertion src/mongo/db/structure/btree/key.cpp:433 ns:trprod_region_sector205.tr_region_sector205_map query:{ $and: [ { base_map_loc: [ 182, 156 ] }, { _id: { $ne: "s1588142_270" } } ] }
      2014-07-11T06:00:22.566+0000 [conn452054]  ntoskip:0 ntoreturn:-1
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            dmaas@spinpunch.com Dan Maas
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: