PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 4th of February, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:52:41] <Jonno_FTW> hello
[00:53:02] <Jonno_FTW> I'm using the mongocxx toolchain, but I have to do this: #include <mongocxx/v_noabi/mongocxx/client.hpp>
[00:53:15] <Jonno_FTW> is there anyway to change it so I don't need the first two directories?
[00:56:00] <Jonno_FTW> in fact this breaks my install of mongocxx
[01:03:44] <Jonno_FTW> nvm I'm just bad at using cmake
[06:00:48] <hungrywolf> how can I use a dot within a key name in mongodb
[09:26:24] <unholycrab> using 3.2.10, i am getting some strange artifacts with db.adminCommand({top:1})... specifically items like "foo.Loading..." { for database foo, in addition to the actual collections
[09:26:47] <unholycrab> in this case there is no collection named "Loading..." on database "foo"
[09:26:59] <unholycrab> i think this may be causing some monitoring tools to choke and die
[09:27:54] <unholycrab> how should i get a clue as to what is going on here
[10:29:00] <arnaud> Hello there, I was wondering how long it is to delete an index? is it instant? I'm wondering because warning in documentation kind of scare me (this command obtains a write lock on the affected database and will block other operations until is has completed)
[10:31:46] <Derick> deleting an index should be fast - providing it's not terrabytes big
[10:37:32] <arnaud> ok thanks
[14:38:03] <augz> 'pipeline' option must be specified as an array -> I'm using the PHP driver, and have dumped out the array. I'm confused as it is an array. Do you have any hints on what to look for?
[14:39:47] <augz> https://kopy.io/gtDBX
[14:43:48] <Derick> augz: each element in the array needs to be an array too
[14:49:26] <augz> so the "in" array should be nested?
[14:50:25] <Derick> yeah... as an exmaple:
[14:50:27] <augz> that kopy.io snippet has the arrays I built
[14:50:28] <Derick> 'aggregate' => 'FulfilledShipments',
[14:50:30] <Derick> should be:
[14:50:39] <Derick> [ 'aggregate' => 'FulfilledShipments' ],
[14:50:41] <augz> ohhhhhh
[14:50:53] <Derick> no
[14:50:55] <Derick> not that one, sorry
[14:50:57] <Derick> the one below
[14:51:08] <Derick> each $match, and $unwind
[14:51:18] <Derick> '$match' => [ 'items.buyer-email' => ['$in' => $final]]
[14:51:19] <Derick> should be:
[14:51:29] <Derick> [ '$match' => [ 'items.buyer-email' => ['$in' => $final]] ],
[14:51:56] <augz> oh ok I see, so each element inside there needs to be its own array
[14:52:16] <augz> I think I understand, computationaly each entry in pipeline needs to be a command that can be referenced by an index
[14:52:33] <Derick> like this:
[14:52:36] <Derick> https://kopy.io/TmsJJ
[14:53:09] <augz> awesome, thats what I got :D
[14:53:14] <augz> Thanks for the help man
[14:53:16] <Derick> np
[18:37:11] <reagan> test
[18:37:56] <reagan> have been receiving the following error after deploying a fresh mongo4 instance and trying to create a user "Unable to add or update user: User document needs 'credentials' field to be a non-empty object"
[18:40:39] <reagan> I have confirmed this works on mongo 3.6.9
[18:43:05] <reagan> is this the appropriate channel?
[18:46:07] <reagan> have been receiving the following error after deploying a fresh mongo4 instance and trying to create a user "Unable to add or update user: User document needs 'credentials' field to be a non-empty object. Is this the appropriate channel for this question?
[19:19:43] <reagan> test
[19:19:59] <reagan> right place for mongo questions?
[20:02:13] <KindOne> reagan: indeed
[20:11:27] <reagan> thanks, think I may have sorted out my issue. had mongodb-CR enabled in the config for 4.0
[20:37:06] <augz> reagan, sometimes this channel takes a minute to get to you. I do a "post and wait" and when someone gets to checking irc you'll get an answer
[20:37:19] <augz> we're all working jobs in here :)
[20:37:36] <Argo_> Hi
[20:37:46] <Argo_> So I'm compiling mongodb 3.2.12 on a raspberry pi 2 and it's taking forever. I'm at "Compiling build/opt/mongo/rpc/legacy_reply.o", any idea how far that is?
[20:55:08] <Argo_> AAaaaand it just failed, "cc1plus: fatal error: js-config.h: No such file or directory
[23:33:50] <reagan> no worries, just haven't used IRC in a while and wasn't sure if I was in here alone. My issue was resolved by removing MONGODB-CR from the config and using sha-1 and sha-256