PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Friday the 8th of January, 2016

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[06:02:12] <Bitsnoxx> I dont think mongodb likes me :c
[06:04:57] <brotatochip> hey guys, i have a secondary that’s immediately entering rollback after restarting and I can’t seem to find the cause of this
[06:11:36] <joannac> brotatochip: does rollback succeed?
[06:11:58] <brotatochip> I’m not sure, it’s still rolling back
[06:12:51] <brotatochip> the primary and arbiter are both unable to reach it
[06:12:59] <brotatochip> i can’t get a local shell
[06:18:30] <brotatochip> joannac: it seems to be ok now, rs.status() looks good
[06:18:47] <brotatochip> there is a bit of difference in the optimes though
[06:26:52] <Bitsnoxx> What is the easiest way to insert json response into mongodb? (node)
[06:34:21] <profsimm> Hey folks mongodb was working fine on my Ubuntu and now suddenly starting the service just shuts down. I saw "unable to create PID" in the logs, but now I erased the logs to make sure it occurs on launch and no new logs are created in /var/log/mongodb/
[06:34:33] <profsimm> Any idea what's wrong or how to diagnose it?
[06:34:53] <joannac> try starting it manually and see what response you get
[06:35:15] <profsimm> joannac: sudo service mongod start? Sorry very new to this
[06:37:44] <profsimm> joannac: oddly when I type just mongod, I get "this program is not installed"
[06:38:01] <profsimm> joannac: this.. is so odd, the log files and data is still here
[06:41:48] <joannac> profsimm: no, start it manually
[06:42:04] <joannac> figure out where your dbpath is, and where the binary is
[06:42:16] <joannac> then /path/to/mongod --dbpath /your/dbpath/here
[06:42:20] <joannac> and figure out what it says
[06:42:25] <Bitsnoxx> What does "TypeError: Cannot assign to read only property "_id" " mean?
[06:42:49] <joannac> Bitsnoxx: in what context?
[06:43:03] <joannac> are you trying to update the _id?
[06:43:47] <Bitsnoxx> Im trying to insert $jsonResponse into mongodb
[06:44:41] <Bitsnoxx> db.collection("db").insert(response.body, function
[06:45:56] <joannac> Bitsnoxx: https://www.reddit.com/r/learnprogramming/comments/3dp4rl/nodejsmongodb_issuequestion_insertion_of_document/ perhaps?
[06:58:57] <profsimm> joannac: I probably should've looked for mongod buuut trigger fingers apt-got the server again :P
[06:59:12] <profsimm> joannac: now it starts. who knows what happened. Thanks for your help!
[06:59:22] <profsimm> joannac: I have a better idea of the binary name and options now
[06:59:26] <Bitsnoxx> I get undefined on forEach
[07:03:15] <profsimm> Hey folks I used mongodump to dump a bunch of collections. Now I'm unsure how to import all this. I have a *lot* of collections. I see a folder with bunch of foo.bson + foo.metadata.json files
[07:03:30] <profsimm> I'm looking at mongoimport docs and it seems to take one JSON file only
[07:03:57] <profsimm> Oh mongorestore.
[07:03:59] <profsimm> Duh.
[07:04:01] <profsimm> Sorry.
[07:18:14] <Bitsnoxx> :S
[07:34:50] <m3t4lukas> profsimm: there was something, one moment
[07:39:55] <m3t4lukas> profsimm: what is the error you get?
[08:42:05] <dw> hey. is there some mongo cli method to edit a record in an external editor?
[08:50:28] <m3t4lukas> dw: nope, but for those purposes robomongo is quite nice. you can also write yourself a quick editor :P
[08:50:43] <m3t4lukas> dw: you can always dump and restore
[08:51:15] <m3t4lukas> dw: or do regular update ops.
[08:51:44] <m3t4lukas> dw: youcan also write a javascript file in an editor and run it via the mongoshell
[09:14:55] <dw> i generally just cutpaste into an editor and rewrite as a findAndModify, but it's pretty brutal
[09:15:16] <dw> and generally these are prod machines where i can't just install random software
[09:15:49] <dw> also constantly worried about that findAndModify doing the wrong thing.. :)
[09:27:39] <bo__> Hi
[09:29:53] <m3t4lukas> dw: if you are worried findAndModify (aka update) is doing the wrong thing just check it using find() beforehand. and always test your queries on similar data in a test env before running them
[09:29:59] <m3t4lukas> hi bo__
[09:30:43] <bo__> install mongodb-org 3.0.8 on Ubuntu 14.04 after reboot it works!!! but in /etc/init.d they didn't create mongod scripts
[09:32:40] <m3t4lukas> how did you install it?
[09:32:57] <m3t4lukas> bo__ and why didn't you install the latest version?
[09:33:14] <m3t4lukas> bo__ https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
[09:34:15] <bo__> yes by this doc
[09:34:21] <bo__> I do it
[09:35:24] <bo__> use last veresion is not so good idea
[09:35:33] <bo__> on production
[09:36:47] <bo__> Have you got ideas? where they put init script and how mongod start after reboot
[09:37:20] <Zelest> can I run wiredtiger on one replicaset node and the non-wiredtiger on another?
[09:43:41] <Zelest> m3t4lukas, those docs seems to suggest debian 7 or ubuntu 14 lts.. aren't those a bit old now? :o
[09:44:58] <m3t4lukas> bo__: it should be in /etc/init.d
[09:45:17] <m3t4lukas> bo__: I did the installation today, it all went smooth
[09:45:30] <m3t4lukas> Zelest: yes, you can
[09:45:39] <Zelest> nice
[09:45:52] <m3t4lukas> Zelest: wire protocol remains the same, no matter the storage engine
[09:46:01] <Zelest> ah
[09:46:11] <Zelest> oh, nvm.. i just realize my other replicaset is 2.6.x
[09:46:18] <Zelest> will be a pita to migrate this :(
[09:46:31] <m3t4lukas> Zelest: yep it is, especially when changing the storage engine of an entire cluster without downtime
[09:46:54] <Zelest> thankfully we're not operating 24/7.. might do some late nighttime work :)
[09:47:16] <Zelest> but, what linux dist is suggested? debian 7 and ubuntu 14 lts feels anchient :o
[09:47:19] <Zelest> ancient*
[09:47:31] <Zelest> will things blow up if I run debian 8?
[09:47:31] <m3t4lukas> Zelest: just use mongoexport and mongoimport and run it parrallel. should be downtime of a few minutes top
[09:47:42] <Zelest> ah yeah
[09:47:56] <bo__> ok I try it on another server
[09:48:03] <m3t4lukas> Zelest: currently RHEL7 is best
[09:48:24] <Zelest> my skills when it comes to RHEL is basically zero :/
[09:48:51] <m3t4lukas> Zelest: don't worry, it's basically the same. Things that are not the same are way simpler
[09:49:13] <m3t4lukas> I came from debian, too
[09:49:15] <Zelest> yeah, ran fedora a couple of years ago so
[09:49:21] <Zelest> i come from freebsd :D
[09:49:32] <Zelest> i'm still at war with iptables
[09:49:45] <m3t4lukas> a couple of years ago is no comparison to today :P
[09:50:08] <Zelest> aw, my host doesn't support RHEL
[09:50:13] <m3t4lukas> Zelest: that's what firewall-cmd is for. No need for iptables
[09:50:37] <m3t4lukas> no support for CentOS 7?
[09:50:49] <Zelest> centos 8
[09:50:54] <m3t4lukas> and please don't use fedora on a server :P
[09:50:59] <Zelest> i know :)
[09:51:06] <m3t4lukas> then use centos 8
[09:51:16] <Zelest> why not debian or ubuntu? :o
[09:51:56] <m3t4lukas> debian runs on top of outdated software and ubuntu is debian with misspelled configs :P
[09:52:11] <Zelest> hehe
[09:52:17] <Zelest> sums it up quite nice indeed
[09:52:17] <m3t4lukas> you can try debian or ubuntu
[09:52:36] <Zelest> oh!
[09:52:37] <Zelest> nvm
[09:52:40] <Zelest> centos 7 is there
[09:52:41] <m3t4lukas> but I wouldn't. Just to save on trouble
[09:52:42] <Zelest> i was looking at coreos
[09:53:04] <Zelest> 5.10, 6.7 and 7.1 :)
[09:53:49] <m3t4lukas> take 7.1. I think it has support until 2024
[09:54:15] <m3t4lukas> that's another point for centos, the long support cycles
[09:54:27] <m3t4lukas> Zelest: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/
[09:54:46] <Zelest> Aah
[09:54:49] <Zelest> nifty
[09:54:57] <Zelest> so.. next issue
[09:55:06] <Zelest> if my database is lets say 10GB
[09:55:16] <Zelest> will there be any major issues if the machine only got 4GB of RAM?
[09:55:26] <Zelest> (as long as I fit indexes and such within 4GB)
[09:56:38] <m3t4lukas> Zelest: nope, no issues, though it is not recommended because of speed.
[09:57:03] <m3t4lukas> Zelest: you will most likely have more hard page faults
[09:57:32] <m3t4lukas> it always depends on how much of the 10GB you're gonna query
[09:57:57] <Zelest> true
[09:57:58] <m3t4lukas> if you only query 1% and the rest is big data legacy it should be more than fine
[09:58:12] <Zelest> yeah, most of it is "old data" that's just stored away
[09:58:27] <m3t4lukas> yep, you might not even have speed issues
[09:58:30] <Zelest> what about gridfs?
[09:58:34] <Zelest> it should be tiny, right?
[09:58:39] <m3t4lukas> Zelest: what about it?
[09:58:43] <Zelest> seeing the metadata is in its own collection
[09:58:51] <Zelest> e.g, if I upload 50GB of data to it
[09:58:56] <Zelest> it would still be very fast to query it
[09:59:00] <Zelest> at least the meta-data
[09:59:11] <m3t4lukas> that's right
[09:59:16] <Zelest> goodie :)
[09:59:30] <m3t4lukas> streaming it would also be fast
[09:59:43] <Zelest> yay! both my hosts support centos 7, awesome!
[09:59:46] <Zelest> nice
[10:00:08] <m3t4lukas> hosters or hosts?
[10:00:24] <Zelest> hosters :)
[10:00:30] <m3t4lukas> if a hoster doesn't support centos7 I'd really worry
[10:00:32] <Zelest> providers*
[10:00:35] <Zelest> hehe
[10:00:57] <Zelest> wrote a little paper.. threw it at boss..
[10:01:06] <Zelest> "hai, i need X machines and a new mongodb cluster.. let me buy this!"
[10:01:15] <Zelest> he's all fine with it :D
[10:01:20] <Zelest> let the fun begin! \o/
[10:01:39] <m3t4lukas> Zelest: so it's like christmas for you now :D
[10:01:48] <Zelest> indeed! :D
[10:02:17] <m3t4lukas> have fun, I'll get myself something for breakfast
[10:02:27] <Zelest> bon apetit!
[10:02:34] <Zelest> you usually hang in here, right?
[10:02:42] <Zelest> as in, you will be around?
[10:02:56] <bo__> <m3t4lukas> on what distributive ou install mongo?
[10:03:11] <bo__> and what version?
[10:50:20] <m3t4lukas> Zelest: yep, I do :P
[10:50:25] <Zelest> awesome :)
[10:50:32] <m3t4lukas> bo__ I did it on Linux Mint 17.3
[11:02:36] <m3t4lukas> bo__ I installed db version v3.2.0
[11:03:19] <m3t4lukas> bo__ did you try a purge and reinstall?
[11:10:01] <Zelest> m3t4lukas, is SELinux something I have to fight with? :S
[11:10:04] <Zelest> *looks at the docs*
[11:10:54] <m3t4lukas> Zelest: yep
[11:11:31] <Zelest> is disabling it a insanely stupid idea?
[11:11:34] <m3t4lukas> Zelest: did you change the data path?
[11:11:44] <Zelest> so far I've just installed it
[11:11:44] <m3t4lukas> Zelest: yep, it is
[11:11:47] <Zelest> ah
[11:11:57] <Zelest> it = mongodb
[11:11:59] <m3t4lukas> then the line "semanage port -a -t mongod_port_t -p tcp 27017" should be enough
[11:12:25] <m3t4lukas> as root of course
[11:12:25] <Zelest> will I have to do that every time i reboot?
[11:12:29] <Zelest> yeah
[11:12:29] <m3t4lukas> nope
[11:12:31] <Zelest> ah
[11:12:32] <Zelest> goodie
[11:12:35] <m3t4lukas> that's a one time thing
[11:12:51] <Zelest> wtf
[11:12:58] <Zelest> semanage, no such command :o
[11:13:11] <m3t4lukas> did you run it as root?
[11:13:15] <Zelest> yeah
[11:13:20] <m3t4lukas> uuuhm
[11:13:55] <Zelest> seems like I need policycoreutils-python or something
[11:13:59] <Zelest> (quick google search)
[11:14:11] <m3t4lukas> yep, found that, too
[11:14:48] <Zelest> that worked a lot better :)
[11:15:22] <m3t4lukas> good ;)
[11:15:55] <m3t4lukas> if you plan on changing the data path this https://wiki.centos.org/HowTos/SELinux might be a good lecture
[11:16:15] <Zelest> ah, thanks :)
[11:16:28] <Zelest> seeing I got all data on / it doesn't matter much :)
[11:17:12] <Zelest> get plenty of warnings when i start the mongo shell though
[11:17:23] <Zelest> /sys/kernel/mm/transparent_hugepage/enabled and /sys/kernel/mm/transparent_hugepage/defrag
[11:18:57] <m3t4lukas> Zelest: yep, these are things you should set up
[11:19:18] <m3t4lukas> Zelest I only did this one time when I set up the image I clone from :P
[11:19:34] <Zelest> ah :)
[11:19:42] <m3t4lukas> Another good option is letting chef or puppet handle that stuff
[11:19:58] <m3t4lukas> if you do it on physical machines
[11:20:12] <m3t4lukas> but works on VMs as well
[11:26:35] <Zelest> http://pastie.org/private/s8aippfy5urrg4pckq1w
[11:26:37] <Zelest> like a baws! :D
[11:27:11] <Zelest> now I need to setup the other nodes and configure the replicaset.. as well as ensure they use TLS and are firewalled properly :)
[11:28:10] <m3t4lukas> Zelest: I don't know whether the distributed version supports TLS :/
[11:28:42] <Zelest> oh
[11:29:00] <m3t4lukas> Zelest: do you run community or enterprise version? You gotta compile community version yourself in order to make them communicate in TLS
[11:29:23] <Zelest> no idea, i installed the mongodb-org according to the docs
[11:29:30] <Zelest> or do you mean CentOS?
[11:29:42] <m3t4lukas> Zelest: as far as I know you can still do that via yum
[11:29:53] <m3t4lukas> Zelest, I mean mongo
[11:30:06] <Zelest> OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
[11:30:14] <Zelest> seems to be compiled with OpenSSL support :)
[11:30:20] <Zelest> (from "mongod --version")
[11:30:29] <m3t4lukas> Zelest: okay, great :)
[11:30:50] <m3t4lukas> Zelest: oh, I see it. Must be new
[11:30:58] <Zelest> :)
[11:32:01] <Zelest> hehe, being used to FreeBSD ports, yum and alike feels so dirty
[11:32:29] <Zelest> installed vim and it installed 30 packages (perl and friends)
[11:32:38] <Zelest> as if vim itself requires perl :P
[11:32:44] <Zelest> *shivers*
[11:33:59] <Derick> i'm trying to install git on AIX and it pulls in X...
[11:34:07] <Zelest> ouch :(
[11:34:25] <Derick> m3t4lukas: I thought that TLS is enabled in 3.2 for community too, but could be wrong
[11:35:15] <Zelest> is TLS a pita to setup?
[11:35:17] <m3t4lukas> Derick: must be new to 3.2
[11:35:22] <Zelest> e.g, like TLS for MySQL with replication
[11:35:34] <Derick> Zelest: no, it's just adding a key to stuff
[11:35:47] <m3t4lukas> Zelest: nope, it's just a line in the config and keys
[11:35:58] <Zelest> aah *pewh*
[11:36:06] <Zelest> then iptables is still the enemy of today :)
[11:36:18] <m3t4lukas> Zelest: nope, use firewall-cmd
[11:36:45] <Zelest> looks just as evil as iptables :P
[11:37:21] <m3t4lukas> it isn't, it's way easier. You CAN pass it iptables rules, but it has short hands for most things
[11:37:30] <Zelest> hehe
[11:37:37] <Zelest> what bothers me is the whole "one command per rule" idea
[11:37:54] <Zelest> i prefer a "firewall configuration" (like BSD's pf.conf) where you just reload it
[11:38:05] <Zelest> a lot easier to maintain and learn :)
[11:41:14] <Zelest> btw, is mongodb-org-server.x86_64 0:3.2.0-1.el7 the community or enterprice version?
[11:41:17] <Zelest> *looks at el7*
[11:41:52] <Derick> that's just enterprise Linux 7
[11:42:00] <Zelest> ah
[11:42:17] <Derick> If you don't know the super secret URL, it's going to be community
[11:42:20] <Zelest> uhm...
[11:42:21] <Derick> it should tell you too though
[11:42:37] <Zelest> http://pastie.org/private/syezovfgsq4qlcjzdzknha
[11:42:38] <Derick> when connecting to it I believe
[11:42:41] <Zelest> selinux blew up :(
[11:43:00] <Derick> yeah, good luck with that :)
[11:44:09] <Zelest> oh, nvm
[11:44:10] <Zelest> it's disabled
[11:45:59] <m3t4lukas> Zelest: okaaay, naver seen stuff like that. Normally selinux behaves if you handle it right
[11:46:09] <m3t4lukas> SELinux is like a child :P
[11:46:22] <Zelest> hehe
[11:47:24] <Derick> you mean it's a pain in the butt?
[11:47:36] <Zelest> that's how you DON'T get kids ;)
[11:47:44] <Zelest> *hides in shame*
[11:48:06] <Zelest> second node configured! \o/
[11:48:35] <Zelest> I havn't used anything over mongo 2.6.x .. :o anything new i should configure or setup to have all of the awesome-sauce it in? :o
[11:48:46] <Zelest> e.g, compression, wiredtiger, etc
[11:48:50] <Derick> should be the same
[11:48:56] <Derick> 3.2 has wiredTiger by default
[11:49:00] <Derick> default compression should be ok
[11:49:00] <Zelest> oh
[11:49:04] <Zelest> sexy
[11:49:43] <m3t4lukas> Derick: really? wired tiger by default? :o yaaay! no more service file fiddling :P
[11:49:59] <m3t4lukas> or better said less fiddling :P
[11:50:59] <Zelest> if I want to load my old mongo database.. a mongodump and mongorestore will do?
[11:51:13] <m3t4lukas> yep
[11:51:19] <Zelest> :)
[11:51:57] <m3t4lukas> temporarily adding the old servers to the cluster should do, too.
[11:52:12] <Zelest> the old cluster is 2.6 though
[11:52:18] <Zelest> is that a very good idea to add them?
[11:52:23] <Zelest> won't that cause issues?
[11:53:20] <m3t4lukas> Zelest: As far as I know it should not be a problem. but what could happen? Worst case scenario: you wipe the data dir of the new servers
[11:53:40] <m3t4lukas> or they just don't add to the cluster
[11:53:54] <Zelest> yeah, might be true
[11:53:57] <m3t4lukas> I'd try it. less work for you
[11:54:13] <m3t4lukas> but do a backup beforehand. Just to be safe
[11:54:33] <m3t4lukas> As you should do before doing anything whenever you do something
[11:54:37] <Zelest> yeah :)
[11:59:13] <profsimm> Hey folks service mongod dies on startup, no log, or I don't know where it is, any route I can take?
[12:04:25] <profsimm> Folks?
[12:04:38] <m3t4lukas> profsimm: some more data please
[12:04:56] <m3t4lukas> profsimm: what OS what version of mongodb?
[12:05:26] <profsimm> m3t4lukas: I wish I had any. Ubuntu, mongodb, used to work, now I run "service mongod start" it shows it starting successfully and the process disappears a split second later
[12:06:32] <m3t4lukas> what happens if you back up you data dir and and empty it?
[12:07:51] <m3t4lukas> I take a wild guess and think it tries to treat an mmapv1 dir as a wired tiger dir
[12:08:20] <Zelest> oh, mongoimport on 3.2 imports multiple collections at once :o
[12:10:20] <Derick> Zelest: yup :-)
[12:11:16] <Zelest> oh, the datadir looks a LOT different as well :o
[12:13:31] <Derick> yes, because of WT
[12:13:39] <Zelest> figured :)
[12:14:13] <Zelest> and it's insanely fast :o
[12:15:26] <m3t4lukas> I will be away for the next three hours
[12:19:34] <Zelest> how can I see how long a query takes?
[12:19:41] <Zelest> time spent that is
[12:21:53] <Zelest> ah, profiler
[12:46:53] <profsimm> Sorry I was here talking about mongod crashing on startup no data no logs. On Ubuntu.
[12:47:00] <profsimm> Where should I look
[12:48:02] <profsimm> Wait: Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating
[12:48:07] <profsimm> Any thoughts?
[12:57:19] <profsimm> Ok it seems mongod runs with insufficient permission in service. How do I set that, any idea?
[13:25:32] <Keksike> I'm doing a ensureIndex (aka createIndex) into my groups collection like this. When I try to add a new group it gives me a duplicate key error of a field that isn't even mentioned in the ensureIndex, why is this? https://gist.github.com/Keksike/a008c661d71d43fb0363
[13:25:55] <Keksike> I use cn to create the indexes but get the error from the dn-field
[13:26:15] <Keksike> can it be because of some old ensureIndexes I have done previously? should I drop the index?
[13:30:29] <Keksike> ah, yeah there was some old index there
[13:42:25] <cheeser> looks like an old index
[13:47:11] <Keksike> yeah :)
[13:47:15] <Keksike> ty
[13:47:20] <cheeser> np
[16:10:03] <hagb4rd> hi. i have a collection i use to store some log data in. the inserted docs are always the same. when printed to json i realized half the characters of a 'dataset' never changes..and so my question is: would it matter for the total size of the collection if i would have given shorter names to the columns?
[19:06:38] <robsco> what's the easiest way to get the min value of a field across all my docs? it's a unix timestamp field
[19:07:03] <robsco> '$group' => { '_id' => '$id', 'first' => { '$min' => '$last_seen' } } ?
[19:07:19] <robsco> 'last_seen' being the field
[19:08:17] <cheeser> a sort and a limit(1) ?
[19:08:35] <robsco> aye was just googling that approach, i'd seen some mention of 'first' a few days ago too
[19:47:43] <shlant> hi all. I ran db.copyDatabase('foo', 'bar');. It returned ok. Is there a way to check the status of the copy?
[20:08:59] <robsco> are there any memory optimisations/configurations I should be aware of with MongoDB, or is it simply a case of having enough RAM for OS disk/file caching?
[20:42:26] <m3t4lukas> shlant: export both and compare using meld :P
[20:42:59] <m3t4lukas> robsco: it's about ram. There are optimizations concerning the file system
[20:43:25] <robsco> k, thanks
[21:13:06] <morf> hello
[21:13:30] <Boomtime> hi there
[21:14:04] <morf> can i ask why debian 8 is not officially supported?
[21:18:10] <m3t4lukas> morf: debian 8 came out pretty recent.
[21:18:36] <m3t4lukas> morf: it has been also kinda outdated like 5 years before it has been released :P
[21:19:18] <morf> rude...
[21:19:42] <morf> 9 months or so is not that recent
[21:19:43] <m3t4lukas> sry, didn't mean to offend
[21:19:48] <morf> :)
[21:20:00] <cheeser> it is odd that there's 7 but not 8 support.
[21:20:18] <morf> i'm sure it's working ok
[21:20:32] <morf> or pretty sure lol
[21:27:18] <m3t4lukas> you can only be sure if you try
[21:30:14] <morf> well looks fine on first sight
[21:56:58] <msx> hi all, while restoring a dump made from a mongo 2.6 to a mongo 3.0.8 (wiredTiger) the restoration get stuck in a loop: while mongod process load varies from 10~18% there's no I/O activity (with the exception of the eventual memory flush from the system). The last line of mongo's log file reads: '2016-01-08T21:06:13.001+0000 I - [conn4] Index Build: 615400/1160709 53%' and that's it
[21:57:05] <msx> any idea?
[21:57:48] <msx> *storage I/O
[22:00:40] <m3t4lukas> msx: sry, no idea. Maybe Derick knows something
[22:01:50] <msx> m3t4lukas: o/ thanks for the heads up :)
[22:02:12] <msx> I will wait untill pinging him though...
[22:02:24] <msx> s/until
[22:02:44] <m3t4lukas> I just did it by metioning him :P
[22:03:33] <msx> m3t4lukas: ah yes, but I guess that depends on you IRC client or the way you have it configured? I'm no sure
[22:04:25] <msx> it's been a time I did my part with mine and never touched it back again
[22:04:36] <m3t4lukas> yeah it does. Most clients are preconfigured that way
[22:04:52] <msx> cool
[22:39:15] <msx> m3t4lukas: btw, is there any mongo forums out there? I couldn't find such on mongo's OSS portal
[22:48:16] <msx> This is exactly what I'm experiencing right now: http://stackoverflow.com/questions/33867354/after-mongodump-calling-mongorestore-hangs
[23:28:56] <freewil> why does mongo not use indexes when querying with $or and using sort()?
[23:29:06] <freewil> … at least in 2.4 https://docs.mongodb.org/v2.4/reference/operator/query/or/
[23:29:20] <freewil> any workarounds?
[23:30:44] <Boomtime> @freewil: https://docs.mongodb.org/v2.6/reference/operator/query/or/#or-clauses-and-indexes
[23:31:06] <Boomtime> i don't know about 2.4, an explain(true) output might be interesting
[23:31:16] <morf> .3
[23:31:16] <Boomtime> however, the workaround is incredibly simple; upgrade
[23:31:27] <morf> sry
[23:31:44] <freewil> i see
[23:32:08] <freewil> Boomtime: thanks
[23:32:11] <Boomtime> 2.4 is EOL, 3.2 is the latest, and there is 2.6 and 3.0 major releases inbetween, so you really should consider upgrading
[23:57:14] <shlant> hi all. is it possible to set rs.slaveOk() in a config or something so it persists?
[23:58:39] <cheeser> no