[02:45:54] <skot> sorry, meant to ask what you are looking for wrt CI
[05:59:42] <mms_> I am getting json posted from web app and it has unix timestamp. server is nodejs and when I store that json to mongodb its stored as Number32 but not date. what to do so I can store it as date or how to convert it to date in mongodb aggregate query.
[17:55:45] <cheeser> what problems are you seeing exactly?
[18:02:43] <^conner> skot, I finally found it... a link to buildbot from a post on a mailing list. Really hard to find!
[18:03:57] <skot> ^conner: we have left buildbot and are on an interim CI system, mci.10gen.com (for now) for the server.
[18:05:37] <joneshf-laptop_> with a monoguri, is it still valid if you give a connection string option with an unrecognized name? http://docs.mongodb.org/manual/reference/connection-string/#connections-connection-options
[18:06:07] <cbuckley> i am setting up a new web cluster with vpc, never used vpc before
[18:06:18] <cbuckley> and will have private subnet for our mongo replica sets
[18:06:23] <joneshf-laptop_> like if my mongouri were: `mongodb://localhost:27017/?foo=3` would that be valid?
[18:06:54] <cbuckley> so was looking for documentation on best practices, if there is any affect on mms (such as reaching the munin-node daemon, doing backups, etc)
[18:07:17] <^conner> skot, the dates on buildbot look current. Eg., http://buildbot.mongodb.org/builders/V2.4%20Linux%20RHEL%2064-bit
[18:07:36] <skot> only for old version (2.4 and before)
[18:08:31] <^conner> skot, gotcha - mind if I a why you migrated away from buildbot? Buildbot claims mongodb as a user which is why I was curious
[18:09:20] <skot> email the mongodb-dev list to get some comments, I'm unfortunately busy atm, or you can try me later :)
[18:09:47] <^conner> skot, roger. thanks for the pointer!
[18:13:28] <cheeser> cbuckley: you shouldn't have a problem with the mms agents. they just need to be on the machine.
[18:36:29] <totokaka> I was looking through my system to find out what folders are taking up space, and I found that I have both a /var/lib/mongo and a /var/lib/mongodb which takes up 3.2GB and 3.3GB, and contains the same files. I did a failed install of mongo earlier. mongo is owned by mongod:mongod while mongodb is owned by mongodb:root. Can I delete one of them?
[18:39:06] <jchamberlain> using something like $project, is there a way to return the results of a query as key => val instead of an array of documents?
[18:41:23] <jchamberlain> the result would be something like {"540e3af0906abf5ff70041bd": "value from the first doc", "540e3af0906abf5ff70041c8": "value from the second"}
[19:11:23] <testerbit> What is wrong with this query inside of aggregate: {$match: {"scores.type":{$not:/quiz/i}}}
[19:12:10] <testerbit> get the following error: bad query: BadValue $not cannot be empty
[20:22:46] <broguinn> I'm trying to figure out how to use mapReduce to group whole documents by certain properties. If I have a collection books and want to group by three properties, how do I add a document to the existing value?
[20:24:46] <broguinn> I looked at this example (http://cookbook.mongodb.org/patterns/unique_items_map_reduce/) but I don't want a count, I want the actual grouped documents in the reduce.
[21:03:07] <jblancett> can anyone explain to me why I can insert values with mongo --eval but all find queries return blank results?
[21:05:35] <jblancett> for example I can do `mongo foo --eval 'db.bar.insert({_id: 0})'`, then `mongo foo --eval 'db.bar.find()'` returns no results but running the same command in shell does return the expected results
[21:05:39] <blizzow> I'm having difficulty with the java driver connecting to a replica set. The URI is something like this: mongodb://myhost1,myhost2/replicasetname . I get errors saying it's unable to find master. If I reduce this to one host (either myhost1 or myhost2) it works. Anyone know what could be tripping me up here? I see some people asking about it in google but no answers.
[21:15:39] <skot> jblancett: --eval 'printjson(db.bar.find().toArray())', find returns a cursor which needs to be iterated...
[21:16:34] <skot> blizzow: do you have a valid primary in that replica set? I'm guessing not, but best to include the log output along the way if you are unsure.
[21:17:03] <skot> Also keep in mind that the client needs to be able to connect to all the hosts in the replica set config to ask if they are the primary, and update its internal state.
[21:18:51] <skot> There will be logging in the logs on client indicating any problems during discovery. If you only use one host you aren't connecting to a replica set, just a specific member and no discovery is done.
[21:19:35] <blizzow> skot: I think we figured it out. We initiated the replicaset and the primary used a weird hostname rather than our DNS name for the replset member. I removed the primary and re-added it to the replica set.
[21:19:45] <blizzow> Seems to have gotten me past that error....
[21:20:07] <skot> Yes, the client and server must be able to resolve and connect all configured host names.
[21:20:51] <skot> The list you connect with is just for discovery, and is not authoritative -- that is what the replica set config is for.
[21:21:07] <blizzow> When I re-added the old primary, it came back as a higher ID. Is it okay to force the old one back in as ID 0 and then promote it?
[21:25:28] <skot> I don't know why you would. If you want it to have a higher priority to be elected primary then change the priority. You cannot "promote" it so much as stepdown the current primary.