[01:16:48] <qswz> hmm, no rather making sure _id is not in allDoc
[01:30:48] <patrickod> I'm writing a client at the moment but I'm having issues w/ the responseTo field in the headre
[01:30:57] <patrickod> http://docs.mongodb.org/meta-driver/latest/legacy/mongodb-wire-protocol/ the documentation states that if present it'll be the ID of the original client request
[01:31:22] <patrickod> yet with MongoDump I'm seeing the server issue messages that have responseTo values set to the previous response message from the server
[01:59:28] <sharondio> Remember also that the video mentioned that goofiness with using "localhost"...and then proceeded to use "localhost" in their own questions.
[12:16:20] <banzounet> could it be the $iod? vs $id ?
[12:17:49] <kali> mmm... $id, dates as string... how did you get this dump ? and what do you send your query with ?
[12:20:37] <banzounet> it's generated from a script a colleague as done , (otherwise PHP/MongoClient object)
[12:20:44] <banzounet> and the database is on mongolab
[12:23:19] <kali> so you cut and paste that from the mongodb shell ?
[12:24:10] <banzounet> (I printed the query from the script and yeah I copied the document from the shell)
[12:27:41] <banzounet> I should get n results but I get nothing
[12:28:12] <kali> the thing is the document look weird: I would expect dates to appear as ObjecId(...) and dates as ISODate(...) not $oid and strings (respectively)
[12:28:29] <bin> can someone translate : ) in understandable english for me .. what follows:
[12:28:30] <bin> A replica set does not hold an election as long as the current primary has the highest priority value and is within 10 seconds of the latest oplog entry in the set. If a higher-priority member catches up to within 10 seconds of the latest oplog entry of the current primary, the set holds an election in order to provide the higher-priority node a chance to become primary.
[12:28:48] <bin> we have a primary with a highest priority which is within 10 seconds
[12:29:07] <bin> but if we have a higher .. ? How do you have a higher priority if there is already the highest .. :S
[12:30:15] <joannac> The two statements are different scenarios.
[12:31:54] <kali> banzounet: i commented with a sample of what all this is supposed to look like
[12:32:22] <bin> ahhhhhhh so i guess if the primary is not within 10 seconds .. and if there is a higher priority member within 10 seconds , there will be an election right ?
[12:33:50] <banzounet> kali, Okay thanks I'll investigate that :)
[12:35:51] <joannac> bin: if the current primary is not within 10 seconds, there will be an election
[12:36:51] <joannac> bin: completely separately, if there is a node that is within 10 seconds of the latest optime, and has a higher priority than that current primary, there will be an election
[12:37:33] <bin> and joannac saved the day for a second time :) ..
[12:55:36] <kali> if on ec2 -> three different zones.
[12:55:39] <Styles> Right now we have ~7tb of files stored. We have 1 really big server and it's quite annoying to maintain. I was looking at migrating to MongoDB and setting up a small server.
[18:18:13] <kurtis> Hey guys, my google-fu is failing me. What version will support either 32MB Limits for the Aggregation Query or outputting the results to a collection?
[18:33:59] <name_vhosts> so why does mongo abort after an fassert failure?
[18:34:10] <kurtis> name_vhosts: Thanks, but I don't think that is the same. The docs look like that's for the data file size. I'm dealing with the Aggregation Results File Size limit
[18:34:11] <name_vhosts> when I am trying to have nde 1 sync 150G data to 2 and 3?
[18:36:00] <name_vhosts> guess ill cron the bitch to start every 5min
[18:57:00] <name_vhosts> maybe iunm hitting oplog limit or some crap?
[19:29:29] <lazypower> Greetings, I'm having some trouble mapping my MongoDB BSON Documents to classes in C#. This has been trivial historically thanks to mongoid on the rails side, however I have need of consuming this data in C# for another project. My model contains a reference to documents in another collection, and this link is throwing the error "Expected element name to be '_t', not '_id' - i'm not finding much about this on google
[19:29:44] <lazypower> Can someone point me in the right direction of whats going on? Is the MongoDB Driver having an issue determining type?
[19:30:16] <lazypower> I'm not much of a fan, but this is a constraint that I have to deal with now .
[19:53:08] <joannac> lazypower: What kind of reference?
[19:55:49] <KaT0R> hey guys how do you search globally within your vales eg i want to search james and see results whether than be in the email or name or company
[19:58:46] <joannac> Pull all your stuff into an array field and index that instead
[20:16:06] <shadfc> hey guys, any ideas on where the "right" place to add some instrumentation to pymongo would be? I'd like to send various metrics to statsd (per collection query response times, counts, etc)
[20:34:15] <tastycode> Given i have a table of posts (like blog posts) that have tags (an array of strings). I need to get all posts whose tags include one of the following "lgbt", "humanrights", "equality" .. whose tags also include at least one of the following "petition", "fundraiser"… So far here is what i've come up with db.posts.find({tags: {"$in": ["lgbt", "human rights", "equality"], "$in": ["petition", "fundraiser"]}}) but it also pulls up things that don
[20:34:16] <tastycode> have an lgbt tag, can anyone give me some guidance (also, there doesn't seem to be a real guide to querying in mongodb … just the docs on Query in the mongoose docs that aren't terribly helpful)
[20:37:20] <tastycode> Turns out i was wrong about the docs, mongodb itself has better documentation… I'm a little closer, but still not getting what i expect db.post.find({"$and": [{"tags": {"$in": ["lgbt", "human rights", "equality"]}}, {"tags": {"$in": ["petition", "fundraiser"]}}]})
[20:48:37] <kali> tastycode: paste somewhere the document you're expecting to find
[20:49:36] <joannac> tastycode: also a document thatshould not be matched, thatiscurrently being matched
[21:06:58] <lazypower> joannac: Its an array of ID's for foreign documents.
[21:07:23] <Hummingbird> I am looking for some information about obtaining a range of bytes from gridFS via the java driver. There is a sentence in the docs that mentions this is possible, but I couldn't find any further information. Do I need to get and assemble the packages manually or is there a better way?
[21:07:29] <lazypower> I can provide a document structure sample, and the class translation code if that will help
[21:07:40] <cheeser> Hummingbird: did you ask that on SO, too?
[21:07:58] <Hummingbird> cheeser, jep, that was me :)
[21:08:13] <cheeser> heh. saw that this morning and opened it. haven't had time to really look at it though
[21:08:50] <Hummingbird> ok, than it's just me being too impatient :)
[21:39:14] <cshaffer> my mongo server keeps shutting itself down for like no reason and the logs aren't saying anything about a crash or shutdown command. would anyone like to offer speculation as to the cause?