[01:48:11] <hahuang62> joannac: I think it's because a lot of people are used to getting instant responses in IRC, irrelevant of the quality of response :p I'm gonna file a ticket. Thanks
[03:39:15] <Jonno_FTW> I need to conditionally add a field to my documents
[09:31:35] <Lujeni> Hello - can i set as downtime througt mms to avoid a fake alert ? Thx
[09:41:49] <lxsameer> what is a single file size limit in GridFS? 16Mb ?
[09:50:28] <lxsameer> is there any file validation for gridFS ? for example content_type validation
[11:17:51] <mazzy> I get this error when I try to use mongoimport to import a json file
[11:17:52] <mazzy> invalid character '\x00' in string literal
[11:19:48] <Chepra> Hey, running 2.4, can we kill a index creation?
[12:00:04] <no-thing_> hello, how to make meta server see created users ?
[12:03:16] <no-thing_> if i add a user on a database when connected directly to mongod, it does not appear on configsrv mongod (though created dbs show themselves just fine in mongo meta server)
[12:15:42] <mazzy> the default path for journal is
[12:16:11] <mazzy> the following /data/db/journal right?
[13:41:04] <hydrozen> Hey, is it normal that this file is empty in the official source for ubuntu? http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.0/multiverse/binary-i386/Packages
[13:51:34] <sharejs> @Derick: I'm followed official docs http://docs.mongodb.org/manual/reference/operator/query/box/#behavior "Only the 2d geospatial index supports $box."
[13:51:50] <Derick> yes, but you can replace a box by a polygon with the corners yourself
[13:52:01] <Derick> *that* is the non-deprecated way
[13:52:51] <sharejs> @Derick: how should I rewrite my query?
[14:48:49] <wc-> hi all, im about to mess around with mongod log verbosity, i figured i should stop by here and ask this before i do: is there a good overall global verbosity setting that will just display log entries when 1. something actually breaks 2. slow queries?
[14:52:42] <atatus> hello, in mongodb is there any performance improvement to choose aggregation over normal cursor operation. I’m using mgo-golang and both the below commands return the same output
[14:52:55] <atatus> Is there any reason why I should lean to use pipeline
[14:56:14] <StephenLynx> afaik, they don't actually return the same output, using io.js aggregation returns me an actual array while find returns me a cursor.
[14:56:52] <StephenLynx> and it is easier to perform operations like sort and skip using aggregation when you are working asynchronously.
[14:57:54] <StephenLynx> try something, atatus. can you print the type of objects in go?
[14:58:00] <atatus> StephenLynx: WRT to find returning the cursor, does that mean the last All operation is a second call to the mongo
[15:01:58] <atatus> I use a limit of 20 in both cases, so big results would not reach my layer.. but whether the aggregation query within mongodb consider this limit of 20
[15:02:03] <atatus> and then handle it more efficiently
[15:02:52] <StephenLynx> yes, the aggregation pipe has a bunch of optimizations.
[15:03:01] <StephenLynx> for these combined operations
[16:59:20] <wc-> hi all, does anyone know if it is possible to get less logging than verbosity: 0?
[16:59:27] <wc-> just errors and warnings for example
[17:49:13] <ggoodman> I'm in the process of upgrading a replicaset from 2.6 to 3.0.1 (2 monods and one arbiter). When the secondary (now 3.0.1) had finished replicating, I asked the primary to step down.
[17:49:45] <ggoodman> The now primary 3.0.1 (wiredTiger) primary started handling live queries and fell flat on its face
[17:49:59] <ggoodman> is there an additional index build step that I might have missed?
[17:53:38] <Joel> I have three collections total, each collection is a tenth of a gig. I have two prealloc.(1|2) files, a gig each, and a j._0 file at a gig. Any idea on how I can reduce these? Or see how they got to be so big?
[17:53:45] <ggoodman> specifically, count queries were suddenly running for minutes
[18:02:26] <ggoodman> ah, perhaps a driver issue :S
[18:08:16] <Joel> ahh, I had smallFiles set, but I hadn't stopped mongo, removed the old ones, and fired it up again
[18:34:49] <girb1> userAdmin auth fails even if give the correct username and password
[19:03:47] <StephenLynx> yeah, then maybe that would be a good starting point.
[19:04:59] <ggoodman> StephenLynx: but the question for me is that this code was producing particularly slow results until I migrated one node to 3.0.1 and used the wiredTiger engine
[19:05:19] <ggoodman> this code was *not* producing
[19:05:41] <StephenLynx> yeah, but you don't know which query exactly is causing that.
[19:05:58] <ggoodman> right now I have 3 nodes in the replicaset 1: arbiter, 2: 2.6.8 (primary) 3: 3.0.1 (secondary)
[19:06:18] <ggoodman> well from db.currentOp, I can see that count operations are slow
[19:06:44] <StephenLynx> by count you mean a group with an $inc?
[19:07:04] <ggoodman> equivalent of db.collection.count({query: stuff});
[19:07:45] <ggoodman> so I generally execute two queries for collections: 1 to get a page of data, 2 to get the number of records
[19:08:16] <StephenLynx> have you tried performing the same count query in the shell?
[19:12:16] <StephenLynx> this guy suggest an index
[19:14:34] <StephenLynx> and according to http://docs.mongodb.org/manual/reference/command/count/ you can specify an index to be used
[19:26:06] <ggoodman> Hi StephenLynx thanks for the links. Your questions triggered me to look deeper into the queries used vs indices present and I hope to have some improvements :D
[22:12:20] <epx998> im new to this, 3rd day. so from a 2.4 mongo, i run that command against a 2.6 mongo?
[22:36:56] <epx998> i just keep getting that error regardless meh
[23:04:32] <lost1nfound> Hey, any of you guys know if there's a good mongo web interface that isn't rockmongo? rockmongo was working well for us, but after upgrading to 2.6.8 (from 2.4 where it worked fine), it seems pretty broken, and has no active development anymore...
[23:05:14] <lost1nfound> issue driving me nuts now is that I cant query am objectid anymore like "{ "_id": ObjectId("550c94d46e44273c597b23c7") }"
[23:05:56] <lost1nfound> says its invalid json.... im sure thats a rockmongo issue not a mongodb or driver issue, (well, maybe driver, but 1.5.5 still does it, as well as 1.6.5), but such query works fine at the shell
[23:06:33] <lost1nfound> phpmoadmin is ugly as fuck, genghis doesnt even allow json queries, cant really find any modern up-to-date viable alternatives
[23:10:04] <Serializator> Can someone help me with a MongoDB Java Driver problem?
[23:19:29] <cheeser> way to hang in there Serializator