Created
December 10, 2014 18:09
-
-
Save pauloalem/b92d6b9f76f511310873 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// db.broken.drop(); | |
var obj = {routes: []}, | |
point = [-24.123, 24.213]; | |
for(var i=0; i < 1696; i++) { | |
obj.routes.push({points: [point]}); | |
} | |
db.broken.insert(obj); | |
db.broken.find({"routes.points.1": {$exists: 1}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2014-12-10T16:29:14.524-0200 [conn2] Running query: query: { routes.points.1: { $exists: 1.0 } } sort: {} projection: {} skip: 0 limit: 0
2014-12-10T16:29:14.525-0200 [journal] journal WRITETODATAFILES 1
2014-12-10T16:29:14.525-0200 [journal] journal WRITETODATAFILES 2
2014-12-10T16:29:14.525-0200 [journal] journal WRITETODATAFILES 0.227ms
2014-12-10T16:29:14.544-0200 [conn2] Only one plan is available; it will be run but will not be cached. query: { routes.points.1: { $exists: 1.0 } } sort: {} projection: {} skip: 0 limit: 0, planSummary: COLLSCAN
[1] 32887 illegal hardware instruction mongod -vvv