<     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:31 Null_ joined
00:35 gentunian joined
00:44 techwave61 joined
01:02 Gwayne joined
01:09 Null_ joined
01:30 Null_ joined
01:47 itaipu joined
01:52 sector_0 joined
01:52 <sector_0> hey
01:57 marc0s joined
02:05 mdorenka joined
02:35 <joannac> cornfeedhobo: you need replSet in mongod.conf
02:35 <joannac> sector_0: did you have a question?
02:36 <cornfeedhobo> boo hoo
02:36 <cornfeedhobo> thanks
02:37 <sector_0> joannac, yeah I wanted to know if the same underlying socket being used by driver would maintain a connection to the same server in a replica set, or it would choose one at random each time I query is sent
02:37 <sector_0> but now thinking about it I guess it wold be dependent on the driver, and it would probably be a persistent thing
02:55 svm_invictvs joined
02:56 <joannac> depends on the driver and read preference
03:00 sandstrom joined
03:03 mdorenka joined
03:47 idd2d joined
04:06 jri joined
04:20 ArchDebian joined
04:49 svm_invictvs joined
04:50 preludedrew joined
05:12 svm_invictvs joined
05:27 evil_gordita joined
05:30 Mia joined
05:30 Mia joined
05:35 Gwayne joined
05:35 Gwayne joined
05:41 lpin joined
06:04 rendar joined
06:05 tildes joined
06:31 Folkol joined
06:35 ArchDebian joined
07:04 bguery joined
07:19 jri joined
07:21 jri_ joined
07:26 macwinner joined
07:28 coudenysj joined
07:28 jri joined
07:28 Liara- joined
07:33 bguery joined
07:33 sandstrom joined
07:35 Lujeni joined
07:48 gfidente joined
08:26 fub joined
08:35 ArchDebian joined
08:36 yopp joined
08:49 okapi joined
08:49 gfidente joined
08:49 gfidente joined
08:55 undertuga joined
09:44 ngmvit joined
09:57 Folkol joined
10:00 michaeldgagnon joined
10:09 PatOlsson joined
10:10 jri_ joined
10:27 kireevco joined
10:29 itaipu joined
10:34 jamiel joined
10:35 ArchDebian joined
10:42 artok joined
10:43 okapi joined
10:43 bguery joined
10:46 basiclaser joined
10:48 timg__ joined
11:05 yeitijem joined
11:17 Kake_Fisk joined
11:22 <Kake_Fisk> I have a collection of responses from surveys. Each response document has an array with the different questions. Question with id=1 is a rating from 1 to 4. I want to create a query that sums how many people answered which question. Any good ideas on how to do that in a good way?
11:22 <Kake_Fisk> This is the document format http://www.jsoneditoronline.org/?id=0bf29c3fc428b1e22d870e7d4593c22d
11:23 <Kake_Fisk> I was trying to think of a solution using the aggregate function, but didn't come up with something that could work
11:31 <joannac> Kake_Fisk: aggregation. $unwind, $match, $group
11:32 <Kake_Fisk> Yeah, okay. I was trying to avoid unwind as it seemed costly. But I'll try that, thanks :)
11:32 okapi joined
11:33 <joannac> well, not much else to do when you have an array :p
11:38 yopp joined
11:53 <Kake_Fisk> It is however possible to restructure the collection, but I can't think of any better layouts right now
12:05 bguery joined
12:08 rkgarcia joined
12:23 StephenLynx joined
12:37 ArchDebian joined
12:43 re1 joined
12:52 ramortegui joined
12:54 michaeldgagnon joined
13:03 Uatec joined
13:05 jri joined
13:21 kexmex joined
13:21 compeman joined
13:24 SteamWells joined
13:33 gentunian joined
13:53 Folkol joined
13:54 nishanth_ joined
13:55 w3bcrawler joined
13:56 nishanth__ joined
13:57 kedare joined
14:00 geoffb joined
14:04 pxed joined
14:13 k3dare joined
14:14 gentunian joined
14:19 pxed joined
14:22 Folkol joined
14:24 joshontheweb joined
14:26 verwilst joined
14:28 <verwilst> Hello! I want to update my db so that vulnerable_services is set to 0 where status is 'patched' in a subdocument patches
14:28 <verwilst> db.assets.updateMany({"patches.status": "patched"}, {$set: { "patches.$.vulnerable_services": 0}})
14:28 okapi joined
14:28 <verwilst> gives me { "acknowledged" : true, "matchedCount" : 168, "modifiedCount" : 167 }
14:29 <verwilst> but i think it only updates 1 occurrence per document
14:29 <verwilst> since most are still > 0
14:29 <verwilst> What am i doing wrong? :-)
14:36 <verwilst> db.assets.update({"patches.status": "patched"}, {$set: { "patches.$.vulnerable_services": 0}}, true, true) same thing
14:37 d10n-work joined
14:37 ArchDebian joined
14:37 itaipu joined
14:39 <verwilst> https://jira.mongodb.org/browse/SERVER-1243
14:49 silenced joined
14:52 culthero joined
15:13 orbyt_ joined
15:15 yopp joined
15:33 culthero joined
15:35 jri_ joined
15:36 jri__ joined
15:44 silenced joined
15:56 compeman joined
16:04 pxed joined
16:07 synthmea1 joined
16:11 Mia joined
16:16 itaipu joined
16:17 culthero joined
16:31 blizzow joined
16:33 silenced joined
16:37 edrocks joined
16:38 ArchDebian joined
16:49 raspado joined
16:55 timg__ joined
17:06 culthero joined
17:12 okapi joined
17:15 compeman joined
17:15 orbyt_ joined
17:23 Necro|senseless joined
17:24 orbyt_ joined
17:28 zylo4747 joined
17:29 <zylo4747> I would like to update e-mail addresses in my database to a value of GUID() + @mydomain.com How can I do this with a single update statement?
17:29 svm_invictvs joined
17:29 pxed joined
17:29 <zylo4747> Also how do I generate a GUID, I cannot find a function that works in MongoDB 2.6
17:41 yopp joined
17:42 culthero joined
17:45 buttmancer joined
17:53 Necromantic joined
18:03 Sasazuka joined
18:11 culthero joined
18:14 mauro_oto joined
18:15 orbyt_ joined
18:18 <mauro_oto> hey guys! my mongod server won't start (mongo just says err 111, connection refused) it looks like it's rebuilding indexes according to the log, but it's taking quite a while, is there any way to kill the reindexing process and force start it?
18:20 sandstrom joined
18:34 sz0 joined
18:36 rendar joined
18:36 rendar joined
18:38 ArchDebian joined
18:40 tildes joined
18:44 ShekharReddy joined
18:47 neuro_sy1 joined
18:49 scorphus joined
19:14 timg__ joined
19:20 jeffreylevesque joined
19:27 okapi joined
19:34 <jeffreylevesque> so i have a mongo instance, with pymongo
19:35 <jeffreylevesque> can i arbitrarily store / create a database?
19:36 <jeffreylevesque> or, do i have to predefine a database before using the pymongo driver?
19:42 bguery joined
19:42 veebers joined
19:44 edrocks joined
19:45 edrocks joined
19:50 compeman joined
19:56 tildes joined
19:58 harry1 joined
20:10 tellnes joined
20:13 orbyt_ joined
20:15 mdorenka joined
20:19 orbyt_ joined
20:21 itaipu joined
20:37 sftp joined
20:37 orbyt_ joined
20:39 ArchDebian joined
20:43 tildes joined
20:47 <Kake_Fisk> Is there somebody who by any chance knows how to unwind in C#?
20:50 culthero joined
20:54 jeffreylevesque joined
20:56 Mantis_ joined
21:01 jeffreylevesque left
21:05 silenced joined
21:13 okapi joined
21:17 orbyt_ joined
21:21 timg__ joined
21:41 orbyt_ joined
22:02 Sasazuka__ joined
22:03 edrocks joined
22:08 sandstrom joined
22:15 beauvolio joined
22:22 sterns joined
22:23 timg__ joined
22:27 orbyt_ joined
22:33 orbyt_ joined
22:34 Sasazuka joined
22:36 Necromantic joined
22:40 ArchDebian joined
22:45 Necromantic joined
22:53 xaep joined
22:58 Necromantic joined
23:01 vetsin joined
23:02 <vetsin> should i be concerned i crashed mongodb while inserting via a local osx dev install, or just set up a real deployment and try again
23:08 Necromantic joined
23:18 gentunian joined
23:24 timg__ joined
23:46 strugee joined
23:51 druonysus joined
23:53 orbyt_ joined