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

mongod crashes when creating a "2dsphere" index on a large (~10 million docs) collection.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.2, 2.5.0
    • Component/s: Indexing
    • Labels:
      None
    • Environment:
      Windows 8 64bit. Mongo 2.4 (2008+) 64bit.
    • Operating System:
      Windows
    • Steps To Reproduce:
      Hide

      1) Create new collection
      2) insert 10 million docs with {loc:{type: "Point", coordinates: [1,1]}}
      3) db.collection.ensureIndex(loc, "2dsphere")

      Show
      1) Create new collection 2) insert 10 million docs with {loc:{type: "Point", coordinates: [1,1] }} 3) db.collection.ensureIndex(loc, "2dsphere")

      Description

      mongod crashes when creating a "2dsphere" index on a large (~10 million docs) collection. It also crashes during inserts if I create the index before beginning inserts (crashes somewhere north of 800,000 docs).

      ERROR output is below:

      Thu Mar 21 14:27:55.446 [conn4] build index drn2.events

      { loc: "2dsphere" }

      [14:28:00] src\third_party\s2\s2latlng.cc:15: Check failed: is_valid()

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: