<     May 2017     >
Su Mo Tu We Th Fr Sa  
    1  2  3  4  5  6  
 7  8  9 10 11 12 13  
14 15 16 17 18 19 20  
21 22 23 24 25 _2_6 27  
28 29 30 31
00:00 timg__ joined
00:07 dcrouch joined
00:11 <MacWinner> does having a projection in your query affect index selection?
00:34 raspado joined
00:55 michaeldgagnon joined
01:01 mdorenka joined
01:03 kyuwonchoi joined
01:41 strugee joined
02:05 edrocks joined
02:09 timg__ joined
02:09 felixsanz joined
02:24 lqez joined
02:25 strugee joined
02:41 mdorenka joined
02:46 strugee joined
02:58 svm_invictvs joined
03:00 michaeldgagnon joined
03:10 timg__ joined
03:31 strugee joined
03:36 lqez joined
03:41 demio joined
03:46 kexmex joined
04:06 edrocks joined
04:09 strugee joined
04:17 dcrouch joined
04:28 devangn joined
04:36 strugee joined
05:00 lpin joined
05:06 lqez joined
05:07 strugee joined
05:51 lqez joined
05:52 artok joined
06:03 lqez joined
06:10 _gm joined
06:11 <_gm> Hi everyone, i am trying to use variable in aggregation pipeline, here is my $group pipeline: { "$group" : { _id: { telco: "$telco", sc: "$sc"}, count: {$sum: 1}, ts: {$first: '$timestamp'} }},
06:12 <_gm> here, instead of ts: {$first: '$timestamp'} i want to use value of a variable: $start which i defined just above the aggregation pipline, var start = new Date(new Date().setDate(new ISODate().getDate() -1 )); start.setUTCHours(5, 0, 0, 0);
06:12 devangn left
06:12 <_gm> i can use vars in $match pipeline but not inside the $group
06:49 lqez joined
07:01 lqez joined
07:07 lqez joined
07:23 lqez joined
07:34 swiftkey joined
07:40 Lujeni joined
07:47 rendar joined
07:47 preludedrew joined
07:51 sz0 joined
07:59 lqez joined
08:04 gfidente joined
08:04 gfidente joined
08:11 klics joined
08:21 strugee joined
08:47 janat08 joined
08:47 <janat08> has anyone considered justing creating fields instead of array if you can't use index anyway?
08:47 <janat08> and then using exists?
09:00 kedare joined
09:11 edrocks joined
09:13 evil_gordita joined
09:17 Diggsey joined
09:28 lqez joined
09:33 re1 joined
09:34 undertuga joined
09:47 klics joined
09:51 okapi joined
09:54 twainwek joined
09:58 schlitzer joined
09:59 twainwek joined
10:01 yeitijem joined
10:07 Mia joined
10:15 michaeldgagnon joined
10:22 kexmex joined
10:42 k3dare joined
10:43 k3dare left
11:13 edrocks joined
11:24 freddy_ joined
11:29 cev joined
11:37 harry2 joined
11:53 StephenLynx joined
11:58 yeitijem joined
12:06 RickDeckard joined
12:06 nadley joined
12:11 okapi joined
12:54 edrocks joined
12:58 edrocks joined
13:01 dcrouch joined
13:02 jeffreylevesque joined
13:03 ramortegui joined
13:18 kexmex joined
14:00 geoffb joined
14:03 kexmex joined
14:30 timg__ joined
15:09 okapi joined
15:17 raspado joined
15:23 orbyt_ joined
16:01 orbyt_ joined
16:11 svm_invictvs joined
16:23 abeach joined
16:32 strugee joined
16:43 nettoweb__ joined
16:47 <abeach> hello, when making a change to a deployment in Ops Manager, the agent logs "Slept until has other primary" and" Running step 'Start' as part of move 'ChangeExePath'". The mongod process is started by runit, instead of Upstart, init.d script or systemd because it is in a docker container. Is there a way to cause the Automation Agent to be able to stop and restart mongodb with the new path...
16:47 <abeach> ...when not using Upstart or other typical task / daemon management tools?
16:48 <abeach> I mean, the agent continuously logs those messages and the deployment change timesout in Ops Manager
16:48 edrocks joined
16:49 kexmex joined
16:50 svm_invictvs joined
16:53 strugee joined
16:53 <nettoweb__> Hello guys, I juts added this to my schema: timestamp: true but now I'm wondering how to read this data in my frontend app. because I dont have access to ObjectId. I have to send a field date in returned json?
17:02 strugee joined
17:07 StephenLynx joined
17:29 strugee joined
17:34 Lujeni joined
17:48 orbyt_ joined
18:05 Sasazuka joined
18:08 Sasazuka joined
18:15 Sasazuka joined
18:24 yeitijem joined
18:31 orbyt_ joined
18:33 strugee joined
18:46 StephenLynx joined
18:49 AtomicB0mB joined
18:50 <AtomicB0mB> Hi, is there a way to get a random document in my collection? A more efficient way than db.find().limit(1).skip(_rand() * db.Collection.count() ) ?
18:55 <AtomicB0mB> just saw that using aggregate with $sample solves my problem =)
19:03 sz0 joined
19:04 edrocks joined
19:05 twainwek joined
19:12 twainwek joined
19:17 castlelore joined
19:22 mylord joined
19:52 twainwek joined
20:01 rendar joined
20:09 nettoweb__ joined
20:16 mylord joined
20:23 Sasazuka joined
20:26 orbyt_ joined
20:33 castlelore joined
20:33 castlelore joined
20:36 nettoweb__ joined
20:43 castlelore joined