PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Thursday the 10th of May, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[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:46:44] <mamalos> hi there!
[13:46:52] <Derick> hi!
[13:47:10] <mamalos> Does anybody know if when a debian 9 package will be available for mongodb community edition?
[13:47:29] <mamalos> correction: if when := if and when
[13:47:36] <Derick> 3.6.5, I think
[13:47:57] <Derick> but the debian 8 one should work too
[13:48:58] <Derick> hmm
[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:52:46] <Derick> OK
[13:52:52] <mamalos> @Derick: in terms of 3.6, openssl linking was the problem I read about in the web too
[13:52:56] <Derick> I run Debian 9
[13:53:02] <Derick> but I compile mongodb myself for it :)
[13:53:24] <mamalos> @Derick: if it's straight forward, I'll do it to
[13:53:33] <Derick> it's not
[13:53:39] <mamalos> eitherway I'll have to prepare an ansible playbook for it...
[13:54:28] <mamalos> are the difficult parts of compiling it from source at least documented somewhere?
[13:54:53] <mamalos> I'm asking in order not to break your b@#lls here...:)
[13:55:00] <Derick> hmm
[13:55:06] <Derick> Let me go have a look, I believe so
[13:55:15] <mamalos> thx
[13:57:11] <Derick> I've created https://jira.mongodb.org/browse/SERVER-34925 — which might get moved to a different project.
[13:57:31] <Derick> mamalos: https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
[13:59:25] <mamalos> @Derick: thanks for both!
[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:06:01] <Derick> ah, opensolaris based...
[14:06:16] <Derick> I think we dropped Solaris (and variants) support
[14:07:07] <Derick> yup: https://engineering.mongodb.com/post/farewell-solaris
[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:09:08] <mamalos> sorry I meant libffi-dev
[15:09:24] <mamalos> https://pastebin.com/J8PdaYhk
[15:10:25] <Derick> looks like a wrong openssl headers version
[15:10:34] <Derick> which openssl packages do you have installed?
[15:11:22] <Derick> libssl-dev, or libssl1.0-dev ?
[15:13:35] <mamalos> it seems to be libssl1.1: https://pastebin.com/sBdCUmk1
[15:14:40] <Derick> hmm, I have that too
[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:27:28] <Derick> w=majority
[15:27:38] <Derick> is your best bet
[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 ?