PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 23rd of August, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:04:51] <MacWinner> if you have a replicaset, is it a best practice to put it behind HAProxy?
[06:08:42] <jamz> hello there... is any body up?
[07:43:13] <djinja> morning, Q: is the mongo test database you get when just opening shell with `mongo` persistent?
[07:49:29] <kali> djinja: yes
[07:49:43] <kali> djinja: it has nothing special
[07:50:34] <djinja> kali hmm ok thanks
[07:51:08] <djinja> kali: I added some stuff yesterday, rebooted and lost it. when I ran db.connection.count() yesterday it said 2, today it says 0
[07:54:53] <djinja> kali: is this a problem with my journal? or did I not write correctly to the db?
[08:08:34] <kali> hard to say
[16:51:21] <lfamorim> Hello! ["statusTelas", "statusCarta", "statusPagamentos"].forEach(function (key) { db.dataprevUpdate.ensureIndex({key : 1}, {background : true}); }) Why MongoDB create a key named key and not statusTelas or statusCarta?
[18:06:18] <helloworld123> hi all - still a noob mongodb user
[18:06:26] <helloworld123> and looking for help to figure out a page_fault issue
[18:07:27] <helloworld123> we're trying to use MMS mongodb management service to help us out
[18:07:42] <helloworld123> but need an API key to finish the login process (old dev signed up for it)
[18:07:53] <helloworld123> is there a work around for the 2-factor o-auth?
[18:53:34] <rocksfrow> hi, do I need to worry about the order I install _minor_ updates to my mongo instances in a primary/secondary/arbiter cluster?
[18:54:01] <rocksfrow> IE, 2.6.x - > 2.6.y... do I need to update my secondary first and what not?
[18:54:10] <rocksfrow> or is that only major upgrades when that matters?
[18:55:48] <rocksfrow> i need to install mongo updates but I am a new mongo user so want to make sure I am installing my updates properly for my cluster
[18:56:44] <rocksfrow> I have MMS setup, and it's warning me everyday to update :P
[18:57:51] <rocksfrow> I am only one minor release behind... if somebody could help assure my worries about minor updates on a cluster I'd appreciate it much! thanks
[18:58:43] <rocksfrow> sorry... 2.4.x :)
[18:58:55] <rocksfrow> whoops, ignore that last message dur
[18:59:30] <rocksfrow> all I find when searching is an old 2.2 -> 2.4 upgrade guide... so I am guessing I am cool to just use yum update for minor updates but hoping somebody can make me feel a little better about that
[18:59:38] <rocksfrow> I am using the cluster for PHP sessions, so it's pretty critical :P
[19:56:37] <rocksfrow> 350 ppl... nobody there can help me? pleease lol
[19:57:06] <rocksfrow> i am hoping to get some confirmation that minor updates... IE, 2.6.x -> 2.6.y are safe to install on primary/secondary in any order
[19:57:17] <rocksfrow> or do I need to install minor updates on secondary first
[20:12:29] <huleo> hi
[20:13:54] <huleo> I have this strange feeling that I asked about this already...{ documents: [ { author: 'Rob', body: 'Top secret' }, ... ] }
[20:14:26] <huleo> how do I modify only chosen element of "documents" array, not by index, but by some field of it?
[20:14:47] <huleo> for example, how do I change 'Top secret' to something else by author, not changing anything else in given array?
[20:22:02] <huleo> nevermind :-) $elemMatch in query and documents.$.body in update
[20:42:45] <zereraz> hello, how do you guys do pagination, like next and prev, you recommend limit and skip right
[20:53:40] <kido86> newbie question: is there a way to limit fields of embedded document to return from a query?
[21:17:04] <rocksfrow> cananybody advise whether or not I need to install 2.6.3->2.6.4 updates on secondary first?
[21:17:25] <rocksfrow> can minor updates be installed at will? or do I need to install minor updates in the same fashion you would an upgrade
[21:17:27] <rocksfrow> (secondary first)
[21:33:54] <rocksfrow> yeah so since I can't get a reply I went ahead with the updates
[21:34:02] <rocksfrow> indeed my sites went down during the update of the primary
[21:34:24] <rocksfrow> looking at the logs, looks like the arbiter detected the master restart and thought about electing, then the master came back up
[21:35:01] <rocksfrow> so I guess in the future, EVEN for minor updates, I should update the secondary, failover to secondary as master, then update original master and revert master
[21:35:10] <rocksfrow> in order to avoid the 30s of downtime