PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 21st of July, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[02:49:45] <mattfly> trying to make robomongo 3t connect to an atlas but i get an error: Cannot connect to replica set "mongo" [cluster0-shard-00-01.xxxxx.mongodb.net:27017].
[02:50:04] <mattfly> Authentication failed.
[02:51:52] <mattfly> oh nevermind!
[09:39:30] <Shiro12> Hey
[09:40:09] <Shiro12> I would have a very weird question, that might be un-answerable, but I can't find anything through the internet about that particular "issue"
[09:41:23] <Shiro12> I have a document that I like to version, and, in order to keep only necessary informations, I want to store only what have changed in x-version (like, the name for exemple), and be able to get, at a particular version, the state of the said-document.
[09:42:39] <Shiro12> For that, I would like to do some kind of polymorphism, like, being able to, if a particular verison is given on the query, change elements of the document resulting dynamically thanks to the stored informations about the changes of x-version
[09:43:01] <Shiro12> Is it possible only with mongoDB queries ?
[12:39:59] <zappybbc> hello
[12:40:08] <zappybbc> I have some trouble with mongodb index
[12:42:15] <zappybbc> mongodb 4.4, i set default index ('a.b.c')
[12:42:41] <zappybbc> when i find {'a.b.c': null}, he did IXSCAN ... with poor performance
[12:42:50] <zappybbc> (20M documents)
[12:43:49] <zappybbc> if i search value, he did COUNT_SCAN with good performance
[12:43:55] <zappybbc> What i did wrong please ?
[17:30:52] <atlizz> hello
[17:31:30] <atlizz> guys do you have any suggestions, if i cant login? from terminal, in localhost. I can say : "mongo --port xxxx" without credentials and login fine
[17:31:49] <atlizz> so i created few users, and then i try "mongo --port xxxx -u userName -p"
[17:32:01] <atlizz> and enter correct password, and have error authentication failed
[17:32:06] <atlizz> i check and users exists
[17:32:35] <atlizz> i cant make my app connect to mongo because of this, only way for me to login mongodb its just typing "mongo --port xxx" without any username or password
[17:32:43] <atlizz> why is this happening?
[17:36:45] <atlizz> system: debian buster , db version 4.2
[19:07:05] <atlizz> i got some more information about my problem
[19:07:09] <atlizz> Supported SASL mechanisms requested for unknown user
[19:07:27] <atlizz> SASL SCRAM-SHA-1 authentication failed for
[19:22:12] <atlizz> fixed, no problems now
[19:22:39] <atlizz> had to re-create all the users in the right databases with the right permissions, restart the server in --auth mode and try again