[05:46:34] <prabampm_> we have upgraded from mongo 3.0 to 3.6 and older version takes 10 minutes to import gridfs files where as new version takes more than an hour. Any thoughts on this ? this issue comes when db is on a cluster. No latency between the clusters
[05:47:13] <prabampm_> changed from mmap to wiredtiger now
[13:49:00] <mamalos> @Derick: sorry, I'm not sure I got you.
[13:49:45] <mamalos> You mean that I can use debian 8 instructions for installing mongodb 3.6.x on debian9? Because from a quick google search I saw that a few problems were mentioned
[13:50:35] <Derick> mamalos: yeah, sorry, there are problems with openssl linkage I think
[13:50:44] <Derick> mamalos: from what I can see, *we* build for Debian 9
[13:51:08] <mamalos> to be honest, I'm not sure if I need it. The current version that I'm about to replace is 2.4.10, so I think this will be a good upgrade :)
[13:51:27] <Derick> mamalos: but I'm not sure why it's not in the download centre
[13:51:49] <Derick> erm, in order to upgrade, you *first* need to go to 2.6, 3.0, 3.2 and 3.4 - unless you're doing a simple dump+restore
[13:52:22] <mamalos> @Derick: the latter (new machine/OS/mongodb-version/etc)
[13:59:37] <mamalos> I'll give it a shot in a VM now and see how it goes
[14:00:22] <mamalos> (Do you have any knowledge regarding SmartOS (through pkgsrc) or is pkgsrc only supported by joyent?)
[14:00:39] <Derick> i've no idea what pkgsrc/joyent/smartos is
[14:00:53] <mamalos> I'm asking the latter because latest SmartOS version failed compiling mongodb
[14:01:23] <mamalos> @Derick: OK, then never mind, you've already helped me enough!
[14:02:41] <mamalos> but if you're into *NIX and have some free time, you could try SmartOS. It's based on OpenSolaris and it has its merits, but that's not the proper place to discuss about it. I only asked coz of the latest builds of pkgsrc that were failing
[14:14:27] <mamalos> :) just read the article. Yeah, I understand the reasons, and mainly I understand the fact that it must be a very tiny market compared to its CI maintenance cost.
[14:22:07] <mamalos> so, the VM with debian 9.4 is ready, I'll try following your instructions now. Thanks again!!
[14:55:38] <mamalos> hmm...trying to follow the build process described in https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source on debian9 failed
[14:56:32] <mamalos> first there was a problem: There's no libcurl-dev on debian9, so I installed libcurl4-openssl-dev instead
[14:57:05] <mamalos> which might be the reason for failing, because when I tried to add the requirements in pip, I got an error message
[15:02:40] <mamalos> here's the part of the output that failed: https://pastebin.com/DfPRZPPq
[15:05:25] <synthmeat> so, if i have replica set of size 3, and w:3, what happens when when one or more parts of replica go down?
[15:07:05] <Derick> the write never completes, and it errors out when wtimeout is reached
[15:07:39] <Derick> mamalos: you might need to install libffm-dev ?
[15:08:03] <Derick> mamalos: you might need to install libffi-dev ?
[15:09:00] <mamalos> and after installing some additional dev packages (like libffm-dev that you just mentioned) I'm getting this:
[15:15:31] <mamalos> @Derick: unfortunately I have to leave now to get my son. Is it OK if we see that again tomorrow?
[15:15:49] <Derick> sure - I should be here; can't promise I can help though :)
[15:16:32] <mamalos> @Derick: don't worry, I understand.
[15:17:26] <mamalos> The only thing I'm worried about is if the info in the link is enough for debian9 (whose package doesn't exist because of openssl library problems)
[15:18:20] <Derick> i'm just compiling it myself again
[15:18:32] <Derick> (but didn't have to do the pip steps)
[15:18:50] <mamalos> so, for example, libcurl-dev was not present, and as I explained earlier I installed libcurl4-openssl-dev, coz this was my guess, but maybe I was wrong, since there were two more options: libcurl4-gnutls-dev and libcurl4-nss-dev
[15:19:32] <Derick> i think you picked the right one
[15:20:13] <mamalos> thanks a lot for helping, I'll keep my tmux sesion in the channel and look at your replies tomorrow morning.
[15:25:47] <synthmeat> Derick: thank you. there's no option to have writeConcern be fully replicated?
[15:49:33] <synthmeat> eh. then i guessed right. thanks again.
[16:24:46] <kambei> Is it yet possible in the more recent version of mongo to use the the $ operator in queries that traverse arrays nested within other arrays? If not, is there a suitable work around?
[17:40:22] <Derick> mamalos: http://repo.mongodb.org/apt/debian/dists/stretch/ « Debian 9 is there now - it was a display issue
[17:40:57] <Derick> mamalos: official support comes with 3.6.5 (out soon)
[23:44:19] <b44__> Does MongoDB allow creating new models during runtime? without restarting mongodb ?