-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: 1.6.0
-
Component/s: Index Maintenance
-
None
-
Environment:Ubuntu X86-64, 2.6.31-16-server
-
Linux
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Server: running on a single local server node (mongod)
To benchmark the geospatial indexing, I generated a collection containing 9M elements. The element contains randomly generated geo-coordinates (lat/long).
The collection structure is pretty simple:
> db.Content.find({},
).limit(2)
{ "_id" : ObjectId("4c64edf60353f7d9181e21aa"), "location" :
}
{ "_id" : ObjectId("4c64edf60353f7d90f1e21aa"), "location" :
}
> db.Content.find().count()
9000000
> db.system.indexes.find()
{ "name" : "id", "ns" : "mrs.Content", "key" :
}
>
The error happens when issuing the indexing command at the shell:
> db.Content.ensureIndex(
)
in > 0
The log says:
Fri Aug 13 01:53:21 [initandlisten] connection accepted from 127.0.0.1:54010 #16
Fri Aug 13 01:53:32 [conn16] building new index on
for mrs.Content
Fri Aug 13 01:53:32 [conn16] Buildindex mrs.Content idxNo:1 { _id: ObjectId('4c65080cd89977e27aa968f0'), ns: "mrs.Content", key:
, name: "location_" }
Fri Aug 13 01:54:15 [conn16] mrs.system.indexes Assertion failure in > 0 db/geo/2d.cpp 199
Fri Aug 13 01:54:16 [conn16] Caught Assertion in insert , continuing
Fri Aug 13 01:54:16 [conn16] insert mrs.system.indexes exception 0 assertion db/geo/2d.cpp:199 43983ms
- duplicates
-
SERVER-2388 Cleanup of bounds-handling cases
-
- Closed
-