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

Uncaught internal exception (assertion db/geo/2d.cpp:236) on geo query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 1.8.0-rc0
    • None
    • None
    • Linux

    Description

      2 examples:

      > db.nrwi.find(

      {c:[288115985.5,0]}

      )
      error:

      { "$err" : "assertion db/geo/2d.cpp:236" }

      > db.nrwi.find({c:{$within:{$box:[[288115985.5,0],[288115986.5,1]]}}}).explain()
      Sat Mar 12 00:04:32 uncaught exception: error:

      { "$err" : "assertion db/geo/2d.cpp:236" }

      The dataset's size is several GBs, and this is how the data looks like:

      { "_id" : ObjectId("4d7a97c0ed7cd785fe37804d"), "p" : "n", "id" : 20973869, "c" : [ 288174269, 1024.00003 ], "r" : 890 } { "_id" : ObjectId("4d7a97c0ed7cd785fe37804e"), "p" : "n", "id" : 20973895, "c" : [ 288174614, 1024.00003 ], "r" : 41 }

      This is the index:

      db.nrwi.ensureIndex(

      { c: '2d', r: 1 }

      ,

      { min: 0, max: Math.pow(2, 30) }

      )

      To use this large 2d min/max work as explained in this post: http://groups.google.com/group/mongodb-user/browse_thread/thread/ef9047d0c94c0667

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            andi Andreas Kalsch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: