PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 5th of February, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[02:47:24] <Jonno_FTW> anyone familiar with mongocxx? I'm having trouble handling a datetime input
[03:42:21] <Jonno_FTW> my problem is here: https://stackoverflow.com/questions/54527257/mongocxx-inserting-a-datetime
[06:34:17] <unholycrab> under what circumstances do collections not appear when typing "show collections" ?
[06:34:37] <unholycrab> given that you are using the associated database, obviously
[06:43:06] <unholycrab> if i try to create a collection and it fails with some error, i might still see the collection when i use db.adminCommand({top:1})
[06:43:41] <unholycrab> i have some artifacts in the db.adminCommand({top:1}) and im trying to figure out what they are and how to remove them. they do not show up when i do show collections
[06:56:20] <unholycrab> here: https://pastebin.com/kiHMM8DP
[06:57:10] <unholycrab> im wondering if there are other ways to fail on creating a collection, which will result in these artifacts existing in the return of "top"
[06:58:02] <unholycrab> you can see there that i can't drop the non-existing collection either
[07:08:14] <unholycrab> the failure is related to it being the local database, but i am wondering i there is a way to fail creating a collection in a non-local database and get the same result with db.adminCommand({top:1})
[13:04:56] <Derick> unholycrab: you may not use the "local" database for yourself.
[13:05:02] <Derick> it's full of magic
[14:59:45] <unholycrab> @Derick: understood. im seeing non-existant collections named "Loading..." in other databases when i run top, and im trying to find out why
[15:01:02] <unholycrab> I happened to notice that I can create similar artifacts in local
[20:06:29] <guardian> hello, can mongodb read password or URI from an environment variable?
[20:26:46] <guardian> also, is it best practice to have 2 different users for backup and restore?