[00:37:26] <a|3xx> either i am having bugs or horrible design flaws
[00:38:02] <a|3xx> i added a user to admin db and granted all the admin roles
[00:39:03] <a|3xx> but when i try to connect using a new database i created, it gives me auth failed error, looks like it is looking for my user inside this new db
[00:39:21] <joannac> did you specify autheticationDb
[00:39:38] <joannac> or whatever it's called in whatever driver you're using?
[00:40:16] <a|3xx> wtf is this "authenticationDb" concept so foreign to the idea that db engine has a single database of users
[02:17:54] <regreddit> I'm totally lost on aggregation $group-ing by multiple properties: [{user:123,status:1},{user:123,status:2},user:123:status:1}] - how can I group by user, then by status, with a sum of each status? so in this example:
[02:48:34] <rh1n0> Im trying to get MMS to work but no matter what i do it i cannot get my node to send any data. Log says it thinks there is another daemon running? there isn't.
[03:01:01] <regreddit> rh1n0, how long has the agent been running?
[03:45:23] <Zane> Is there a guide somewhere that teaches you how to design mongodb schema?
[13:01:33] <rasputnik> trying to get a sharded setup firewalled. do the mongocs need to talk to anything but each other? i know the mongos instances speak to them, but they don't need connectivity to the replica sets that make up the shard, right?
[13:56:46] <boombaloo> like honestly this is crazy :-)
[14:01:19] <kees_> boombaloo, maybe is has anohter config it reads from?
[14:02:26] <kees_> besides; maybe try it with the bind_ip config commented out
[14:23:44] <kkspy> Hello. I am using latest stable mongodb (2.6.3) and I have a collection with 35k objects in it. Simple query db.jobs.find({status:'a'}).explain() shows 'nscanned: 5277' and the query takes a while.
[14:24:41] <kkspy> Of course I have db.jobs.ensureIndex({status:1}) and explain() says 'cursor: BtreeCursor status_1'
[14:30:24] <kkspy> I'm not getting why mongodb needs to read those documents. MySQL works fine in the same situation.
[14:33:50] <BurtyB> kkspy, to me it looks like you're asking it to return the whole document so it's going to need to read them to be able to return them?
[14:34:14] <kkspy> BurtyB: how about returning a cursor? :)
[14:39:04] <kkspy> BurtyB: Oh, I think I got it. Explain() forces it to read documents immediately.
[14:40:17] <kkspy> But why do they come into nscanned? Nscanned means number of checked documents AFAIK.
[16:19:07] <boombaloo> not really sure what should I be looking for
[16:19:23] <boombaloo> there is HUGE amount of select(10, [8 9], NULL, NULL, {0, 10000}) = 0 (Timeout)
[16:19:57] <Nodex> I can't recall where my problem was, it turned out that I had to run it as root from the terminal to even get it to run properly for some strange reason
[16:20:08] <Nodex> using --fork, even upstart wouldn't start it properly
[16:40:44] <boombaloo> somehow upstart seems to set /var/libmong to root.root
[16:40:59] <boombaloo> id expect mongo 10gen install to sort this out...
[17:21:38] <mikebronner> im new to MongoDB, so please bear with me. I'm looking to combine a find() query with an aggregate() query, is this possible? specifically i would like to return the distance between each record and a given coordinate. I have the two queries running seperately with no issue, but I need to combine the results, so as to report the distance in the find query as well, or vice-versa
[17:21:38] <mikebronner> get the where clauses added to the aggregate query
[18:50:33] <huleo> guys, quick one: can I sort by creation date without creating additional fields? meaning, creation date is in _id already