PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 1st of October, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[07:05:10] <CMistress> Morning all. I'm trying to reference a field in $regex and am wondering if this is even possible. For example: {$project: {name: "$creator.name"}},{...$regex: /$name/} -- ignore any syntax errors, I'm trying to show the intent. I want $name from $project to be referenced in the $regex -- like variable interpolation. Is this possible?
[08:15:38] <Bardack> ahoi guys
[08:15:52] <Bardack> we're currently running mongo 2.6 with replicaSet on Production
[08:15:59] <Bardack> and we're considering moving to 3.6
[08:16:22] <Bardack> we saw that the official way is to move from 2.6 -> 3.0 -> 3.2 -> 3.4 -> 3.6 … which will take ages :)
[08:16:32] <Bardack> we can consider downtime of mongo so :
[08:16:54] <Bardack> will it be possible to create new replicaSet 3.6 fresh install, then export from 2.6 and import to 3.6 directly ? or no way ?
[10:04:35] <Derick> Bardack: yes
[10:42:23] <leitz> Newbie question. If I'm pulling a document from a collection and changing multiple values, and which values get changed may not be the same key, should I just delete the document and insert it? Or is there a way to update_one with multiple changes?
[10:47:52] <leitz> Oh, cool, I can just pass the hash as the $set data. Yay!
[12:08:35] <mitereiter> hi, does anyone have any experience with ops manager on Windows 7?
[18:30:00] <deathanchor> hey, anyone able to get around using a connect() object and run adminCommand on secondary? i keep getting "not master and slaveOk=false" even though I have setSlaveOk()
[18:33:16] <deathanchor> var dbo = new Mongo('secondaryDbName:port').getDB('test'); dbo.setSlaveOk(); dbo.adminCommand('listDatabases');
[18:33:26] <deathanchor> fails with that error
[18:33:35] <deathanchor> mongodb 3.6.6