[00:58:10] <flaf> Hi @all, I have a replica set with 3 hosts (mongo 2.4). If 2 servers are down, the mongo cluster is down. If only one server is down, the cluster is up. Is it normal? Is there a concept of quorum with mongo? (I'm a mongo beginner).
[00:58:45] <cheeser> you've just captured it really.
[02:00:43] <flaf> I have noticed that mongodb (2.4) is very verbose in my logs. I have a web site connected to my replica set and each time a web page is loaded I have lines in the logs (“connection accepted”, “end connection”. However I have put “setParameter = logLevel=0” in mongo.conf.
[02:01:04] <flaf> Is it possible to avoid these logs at each connection?
[02:01:36] <flaf> Or the next step for me is to just stop logs?
[02:18:14] <flaf> I have tried too “setParameter = logLevel=0” _and_ “setParameter = quiet=1”, but I still have logs at each connection.
[02:48:56] <joannac> flaf: you shouldn't after setting quiet:1
[02:50:30] <flaf> ah? Is the syntax “setParameter = quiet=1” correct in mongo.conf?
[09:00:56] <flaf> If you know how to disable “[connXXX] authenticate db: foo” in the log with mongodb 2.4, I'm really interested. Because I have set “setParameter = quiet=true” and “setParameter = logLevel=0” and the line are still here.
[09:19:16] <chrisq> is there a shortcut to run a query found in currentOp()?
[13:55:42] <m3t4lukas> seems like monday is everywhere :D
[13:56:34] <cheeser> sounds like a song by the Mammas and the Pappas
[14:43:53] <m3t4lukas> cheeser: I'd like to coordinate it a bit so it get's into the releases as quick as possible so I don't need to set up an infrastructure for deployment of my own branch of mongodb
[14:46:23] <cheeser> file a jira so the kernel team knows about. add a note that you're working on a patch.
[15:05:36] <m3t4lukas> cheeser: okay, doesn't stop me from working on it. I found out what I need to do it. Now I need to run some tests. Do you have a build environment on a vm?
[16:03:56] <saml> i created mongodb. all thank me.
[18:42:57] <morf> mongodb is really jolly good fun
[18:43:51] <morf> i have work done like 5 times faster than with traditional dbs
[18:44:40] <cheeser> that's what we like to hear :)
[19:52:09] <cornfeedhobo> does anyone know what port mongo initiates replication/clustering on? have a node which has opened up 27017:27019 but still i am required to drop my firewall to begin peering
[19:54:02] <cornfeedhobo> yeah, once they know about each other, that is the case, but it appears that the initiating is not done on it
[21:19:46] <ThisIsDog> @joannac: I looked into the $and issue you helped me with before the weekend. We think we think the problem is with Ming's implementation of mongo in memor, and Ming has been very unresponsive with us in the past. How stable is Mongo's in memory storage engine? Should it be stable enough for us to use running tests?
[22:06:19] <magicantler> Can you get a speed improvement by sharding on the same server?
[22:08:13] <cheeser> probably not. each instance would be competing for resources
[22:08:41] <cheeser> though depending on the size of your dataset you might get some parallelization benefits.
[22:11:43] <magicantler> Cheeser: What if it's 3 massive machines, with 128gb ram each?
[22:12:35] <magicantler> cheeser: this SO post, says clearly not, but it's a few years old http://stackoverflow.com/questions/9203418/mongodb-sharding-on-one-machine
[22:18:10] <cheeser> yes, they would but they'd be fighting the other node(s) for memory and cpu time
[22:18:28] <cheeser> so you might gain in one area only to lose in another. how that balances out is hard to predict
[22:20:56] <magicantler> Thanks.. I guess I'll have to experiment with predicted load and data capacity. Is it tough to move a shard over to a new machine from a pre-existing one?
[22:23:16] <cheeser> i've never tried but i'd think it'd be the same procedure as moving a replica set node: bring up a new node, let it sync fully, decommission the old node.
[22:26:41] <L00tefisk> any idea why it wont let me insert into the database here? http://hastebin.com/eqagagizuh.py