<     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 26 27  
28 29 30 31
00:20 lino joined
00:22 test222 joined
00:33 culthero joined
00:48 evulish joined
00:53 lava_ joined
00:55 Soopaman joined
01:04 kyuwonchoi joined
01:09 edrocks joined
01:10 <svm_invictvs> java.lang.NoSuchMethodError: com.mongodb.client.MongoCollection.createIndex(Lorg/bson/conversions/Bson;Lcom/mongodb/client/model/IndexOptions;)Ljava/lang/String;
01:10 <svm_invictvs> Strange I'm getting that considering it's coming from within Morphia
01:11 druonysus_ joined
01:15 Gwayne joined
01:20 jri joined
01:45 Siegfried joined
01:49 kyuwonchoi joined
01:59 JonathanMcClare joined
02:12 mdorenka joined
02:15 Gwayne joined
02:15 Gwayne joined
02:39 tambu joined
02:46 Soopaman joined
02:56 blizzow joined
03:00 sandstrom joined
03:02 evulish joined
03:03 tambu_ joined
03:10 Uatec- joined
03:12 dbarrett joined
03:12 dbarrett joined
03:13 kba joined
03:34 macwinne_ joined
03:39 joshontheweb joined
03:58 JoWie joined
04:11 edrocks joined
04:16 gentunian joined
04:28 kyuwonchoi joined
04:28 kyuwonchoi joined
04:29 kyuwonchoi joined
04:41 joshontheweb joined
04:42 rayn joined
05:14 test222 joined
05:14 coudenysj joined
05:27 lowbro joined
05:27 lowbro joined
05:30 kyuwonchoi joined
05:48 evil_gordita joined
06:01 kyuwonchoi joined
06:15 lpin joined
06:58 jri joined
06:59 jri joined
07:00 macwinne_ joined
07:03 armyriad joined
07:15 Folkol joined
07:23 sandstrom joined
07:33 preludedrew joined
07:38 sterns joined
08:00 coudenysj joined
08:11 kyuwonchoi joined
08:14 Folkol joined
08:24 klics joined
08:24 <jokke> hmm it's still stuck in rollback...
08:25 <jokke> and the gap is getting greater
08:33 quattro_ joined
08:38 rendar joined
08:41 <jokke> since i'm dealing with time series data i could just ignore the writes that were rolled back
08:41 <jokke> i tried moving the rollback directory after shutting down the node but when i bring it back up it still goes into rollback state
08:42 veebers joined
08:42 felixsanz joined
08:47 okapi joined
08:48 lowbro joined
09:12 dbarrett joined
09:21 jri_ joined
09:23 jri joined
09:23 yeitijem joined
09:25 michaeldgagnon joined
09:40 angular_mike_ joined
09:41 Folkol joined
09:41 test222 joined
10:12 artok joined
10:17 artok_ joined
10:17 edrocks joined
10:23 veebers joined
10:31 lino joined
10:33 okapi joined
10:37 macwinne_ joined
10:38 Folkol joined
10:39 gfidente joined
10:39 gfidente joined
10:41 kyuwonchoi joined
10:57 artok joined
11:02 artok_ joined
11:06 Folkol joined
11:07 hussain joined
11:19 basiclaser joined
11:19 FrozenSolid joined
11:21 artok joined
11:25 okapi joined
11:27 undertuga joined
11:28 _jd joined
11:34 dampfszene joined
11:35 <dampfszene> hi all, is there a mongob query validator? my query ({ $and: [ { psid: id }, { byear: year } ]} ) seems to not working..
11:39 <jokke> dampfszene: what is the error/
11:39 <jokke> ?
11:39 <jokke> or is the result set empty?
11:40 <dampfszene> jokke: empty
11:40 <jokke> ok so what is id?
11:40 <jokke> and year
11:41 <dampfszene> jokke: you can see here https://nopaste.linux-dev.org/?1124050
11:41 <jokke> i can't since i don't know what you pass to the function
11:42 <dampfszene> jokke: https://nopaste.linux-dev.org/?1124051
11:42 <jokke> okay
11:42 <jokke> i believe it's a type issue
11:42 <jokke> id is probably just a string
11:42 <jokke> and so is year
11:43 <jokke> (just guessing)
11:43 <jokke> can you fetch just any document and show me the values of psid and byear
11:44 <dampfszene> find({ psid: id}) this is working in another method, so the problem can just be "year"
11:44 <jokke> okay
11:44 <jokke> also the $and in your query isn't necessary
11:45 <jokke> you can just query { psid: id, byear: year }
11:45 <dampfszene> ok let me try
11:45 <jokke> but you might have to turn year into a number or something
11:45 <jokke> it's not _wrong_ with $and
11:45 <jokke> it's just unnecessary in this case
11:46 <dampfszene> { psid: id }, { byear: year } works, but all other elements get lost, the return is just psid and byear not the other elemtns
11:47 <jokke> nono
11:47 <jokke> in the same object
11:47 <jokke> { psid: id, byear: year }
11:47 <jokke> if you pass two objects the second one determines which fields you want to fetch (like SELECT in sql)
11:48 <dampfszene> this.mappings.find({psid: id, byear: year }).toArray((err,mappings) => { gives an empty string
11:48 <jokke> an empty array you mean
11:48 <dampfszene> yes, sorry
11:49 <jokke> yes, that's to be expected, since your initial query wasn't _wrong_ per se
11:49 <jokke> your problem seems to be year
11:49 <jokke> try parseInt(year)
11:50 <dampfszene> seems to work perfectly :))
11:50 <dampfszene> ty jokke!!
11:51 StephenLynx joined
11:54 jri_ joined
12:03 jri joined
12:12 <jokke> no problem :)
12:22 okapi joined
12:29 michaeldgagnon joined
12:36 kyuwonchoi joined
12:40 artok joined
12:42 edrocks joined
12:44 Soopaman joined
12:56 StephenLynx joined
13:14 Diggsey joined
13:19 macwinne_ joined
13:21 threee joined
13:34 Stephen joined
13:35 StephenLynx joined
13:36 ams__ joined
13:40 evulish joined
13:42 Folkol joined
13:50 Folkol joined
13:52 joshontheweb joined
14:00 geoffb joined
14:13 <threee> Hell
14:13 <threee> Hello*
14:14 <threee> Does anyone have some good resources on Mongo backup strategies?
14:16 rendar joined
14:17 <threee> Coming from a SQL mind set, there's incremental/snapshot with master/slave.
14:17 <threee> In Mongo is there similar concepts?
14:17 <threee> Or what would be a beter method in Mongo?
14:23 StephenLynx joined
14:24 itaipu joined
14:36 Folkol joined
14:45 Cesario__ joined
14:46 kexmex joined
14:47 d10n-work joined
14:49 Cesario_ joined
14:59 Liara- joined
15:05 joeco joined
15:06 joshontheweb joined
15:07 <joeco> is there a way to elevate my mlab user permissions for a given database, preferably via mlab.com interface? So I can access all functions of the database I have added the user to?
15:08 macwinne_ joined
15:08 <joeco> not able to do a find() call, or other admin level function calls on it, even though I set the user in the Users tab
15:08 blizzow joined
15:10 artok joined
15:28 okapi joined
15:29 StephenLynx joined
15:41 SkyRocknRoll joined
15:41 harry1 joined
15:53 pxed joined
15:54 svm_invictvs joined
16:04 macwinne_ joined
16:04 culthero joined
16:05 markizano joined
16:05 markizano left
16:06 <threee> what's your favorite open source Mongo GUI tool besides Compass
16:20 blizzow joined
16:21 culthero joined
16:23 <sandstrom> Does removing a member from a replica set always trigger a re-election?
16:23 <sandstrom> This issue (https://jira.mongodb.org/browse/SERVER-5788) make it sound like this has been an issue in the past, but it's not entirely clear to me if this is now solved.
16:23 <sandstrom> (more specifically, the replica I'm about to remove has `priority: 0`, so afaik it shouldn't need to trigger a reelection)
16:37 brucebag joined
16:42 angular_mike_ joined
16:42 test222 joined
16:45 culthero joined
16:46 lino joined
16:49 macwinne_ joined
16:56 jr3 joined
16:56 <jr3> is this valid: https://gist.github.com/jreeter/766cd546444973abacb8c9a5475603cb
16:56 <jr3> is this a valid query filter
16:57 <jr3> is it is it
16:59 culthero_ joined
17:05 SkyRocknRoll joined
17:08 kexmex joined
17:15 Necromantic joined
17:23 Mia joined
17:23 Mia joined
17:34 blizzow joined
17:38 coudenysj joined
17:40 mylord joined
17:40 <mylord> how to enable SSL remote connection, but not require it for local connection?
17:43 edrocks joined
17:45 jr3 joined
18:03 Sasazuka joined
18:07 Sasazuka joined
18:09 Mia joined
18:14 okapi joined
18:16 davidmichaelkarr joined
18:16 culthero joined
18:17 joshontheweb joined
18:31 heroux joined
18:31 <threee> In a Replica Set if the primary node goes down, how would an application know where the new primary node is?
18:35 <threee> Would the application drivers take care of that?
18:35 <threee> Do I need to specify the Replica Set to the application?
18:37 artok joined
18:45 gentunian joined
18:54 sandstrom joined
18:55 pxed joined
19:06 quattro_ joined
19:20 Sasazuka joined
19:44 re1 joined
19:59 edrocks joined
20:01 artok joined
20:13 fullerja joined
20:18 culthero joined
20:18 Itala joined
20:19 Itala left
20:21 itaipu joined
20:22 mikkqu joined
20:23 <mikkqu> hey, i have a question. let's say that I store an array inside my collection: [1, 2, 3, 4], and I want to aggregate the size of this array as a new field - then I can use expression operator ($size) inside my aggregation query
20:24 <mikkqu> what if I have an object instead of array: ["a": 1, "b": 2, "c": 3]
20:24 <mikkqu> how do I aggregate the size of an object (dict) as a separate field? i couldn't find any expression operators to work on sets
20:24 <mikkqu> what's the story behind it? am I missing something?
20:25 <mikkqu> like, there a lot of "array operators" but no "dictionary operators" at all
20:30 somethingfancy_ joined
20:31 itaipu joined
20:33 pxed joined
20:33 culthero_ joined
20:37 culthero joined
20:39 culthero_ joined
20:42 veebers joined
21:02 blizzow joined
21:05 druonysus joined
21:07 pishu joined
21:23 Aquazi joined
21:26 StephenLynx joined
21:31 culthero joined
21:39 culthero joined
21:41 michaeldgagnon joined
22:09 joshontheweb joined
22:26 Clemlar joined
22:32 point joined
22:33 <point> anybody here monitor mongo with the graphite/collectd/statsd stack? Having trouble finding tools that are working that'll give me very simple stats, like in-flight queries and connections
22:34 <point> the collectd plugin seems to be a dead project, and the couple other ones I've found are either DOA or not maintained / buggy
22:49 point joined
22:53 itaipu joined
22:55 gentunian joined
23:07 culthero joined
23:13 edrocks joined
23:32 <svm_invictvs> oso
23:32 <svm_invictvs> So
23:32 <svm_invictvs> if I wish to use Morphia, do I use mongo-java-driver or simply mongo-driver?
23:32 <svm_invictvs> This is confusing because one depends on another but now I'm getting NoSuchMethodError
23:54 macwinne_ joined