[00:39:43] <StephenLynx> "hurr, your password must have letters, numbers and an elven rune"
[00:44:08] <StephenLynx> https://jira.mongodb.org/browse/NODE-567 here
[01:00:33] <StephenLynx> cheeser I read this here: http://docs.mongodb.org/v3.0/reference/method/cursor.addOption/ " The sequence creates a cursor that will wait for few seconds after returning the full result set so that it can capture and return additional data added during the query:"
[01:00:49] <StephenLynx> so the cursor is not intended to stay open until manually closed?
[01:04:33] <StephenLynx> have you ever used a tailable cursor like this? open it, leave it open for long periods of time and grabbing new documents?
[01:07:50] <cheeser> not for a long, long time, no. but i've used it in unit tests which doesn't really help with this...
[01:08:07] <cheeser> have you tried doing in the shell and ruling out the node driver?
[01:09:28] <StephenLynx> tried, but couldnt figure how to fetch it from the terminal
[01:09:45] <StephenLynx> the command on that link didn't give me the new documents
[01:19:57] <edrocks> is there anyway to set the primary in a replica set if you only have two members? Does increasing the priority of one work with only two members?
[05:00:14] <antiPoP> Hi, I have a a document A which has a array of B subdocuments. I want to get all A documents but fiter B subdocuments based on a criteria.
[05:00:39] <antiPoP> This mean is there is no match for B, I still can get A with no subdocuments. Can this be done?
[14:15:01] <jordonbiondo> can anybody tell me why an ObjectId is supposedly a 12 byte value, but represented by a 24 byte hex string?
[14:15:20] <jordonbiondo> or for that matter, how can I get the actual 12 byte value from an ObjectId?
[14:18:44] <cheeser> depends on the language, i'd imagine
[14:19:48] <deathanchor> jordonbiondo: not sure what you mean... here is all you need: http://docs.mongodb.org/manual/reference/object-id/
[14:20:20] <jordonbiondo> I've read that document, that's where my question comes from
[14:21:04] <deathanchor> what are you going to do with the 12-bytes of data?
[14:21:19] <jordonbiondo> if the internal structure of an ObjectId is 12 bytes, why is it always represented with a 24 byte hex string? And is there a way to actually get the real 12 byte value from the hex representation
[14:22:05] <deathanchor> would you rather have zeros and ones?
[14:44:43] <deathanchor> it only turns on journalling, and then here is what happens for a crash when you had journalling on:http://docs.mongodb.org/manual/tutorial/manage-journaling/#recover-data-after-unexpected-shutdown
[14:46:06] <deathanchor> I've only had a few dirty shutdowns and journalling recovers automatically 90% of the time. the other 10% I had a do a full resync.
[14:49:48] <androidbruce> i'm trying to enable ssl connectiong for mongodb 2.6, but it seems that ssl isn't complied in the distributed packages?
[17:22:16] <makufiru> Hey all, I'm looking for some resources that talk about use cases for MongoDB over SQL, and the benefits involved in that route. I'm also interested in hearing your own views if you have any.
[17:27:02] <StephenLynx> when you expect your dataset to require more and more space and you want to add more server to the stack with ease
[17:27:35] <StephenLynx> when you can afford not having ACID and transactions are not worth the slower development cycle of using a RDB
[17:27:53] <StephenLynx> when you need to handle large datasets with efficiency
[17:28:02] <StephenLynx> when you have to store files in the database
[17:28:10] <StephenLynx> when you have to handle geo location queries.
[17:29:34] <makufiru> Thanks @StephenLynx those are really helpful points
[17:30:56] <StephenLynx> ah, when your data is not too relational
[17:31:43] <StephenLynx> also, there is an use-case for other no-sql databases.
[17:31:54] <StephenLynx> there is this misconception that there is sql and no-sql.
[17:32:05] <StephenLynx> the truth is that there is sql and then a lot of databases.
[17:32:35] <StephenLynx> theres little similarity between the uses cases, technology and use between mongo and redis, for example
[17:32:44] <StephenLynx> or between any of these and a graph database.
[18:22:39] <Doyle> Hey. Will this have any config when the URI is pointing at 3 mongos rather than the RS members themselves? MongoConfigUtil.setReadSplitsFromSecondary
[18:23:09] <Doyle> for com.mongodb.hadoop.util.MongoConfigUtil
[19:57:33] <deathanchor> does mongodb 3.0 do collection write locks for updates that affect an index on that collection?
[20:24:30] <pokEarl> Hey friends, so I am told that its bad to use FindOneById if you are just checking if the object is there because using find.limit(1) and then .hasNext does not read the entire object. Is the same true if you are using projections then? like if you exclude a lot of the object, will a find be faster than a findone because findone does not exclude or something i dont know? :(
[23:24:10] <jigax> hello everyone. I'm trying to figure out best way to design my schema. lets say I have a product I would like to keep quantity track for multiple users. does it make sense to push the user and quantity into array in products?
[23:24:34] <StephenLynx> I would keep track of that in the own user document.
[23:24:50] <StephenLynx> and duplicate the product identification into the array that contains that user's inventory.