[01:27:19] <Freman> how to I make it mongo free up space?
[02:08:36] <docmur> I have the following encrypted database information: http://pastie.org/10927371 I have the following C code, trying to read that information: http://pastie.org/10927373, The problem is I'm getting (null) from the printf of str. Does the mongo C driver have a function to get the information from the database?
[02:43:56] <atomicb0mb> guys, is there any manual explaining how to upgrade mongodb to the last version?
[09:09:11] <ralfbergs2> Can somebody help me? I need to design a HA architecture for MongoDB in AWS, where I only have two availability zones (AZ).
[09:09:20] <ralfbergs2> If one AZ goes down, all instances in this AZ are unavailable.
[09:09:28] <ralfbergs2> My plan is to host "master" in one availability zone, "slave" and "arbiter" in the other.
[09:09:46] <ralfbergs2> Should the zone with the master go down, slave and arbiter would make "slave" the new "master", so all should be fine.
[09:10:16] <ralfbergs2> Should the zone with slave and arbiter go down, then what? Would Master become slave (read-only) as it can't confirm it should remain master?
[09:10:37] <ralfbergs2> Is there any solution to this dilemma?
[09:39:56] <Faris> Yo guys, what happened to mongodb's community repository gpg signature?
[10:21:00] <Derick> I'm no windows user, but it looks like it's the right one.
[10:28:44] <bunbury> why does it have 2008 R2 in the name ?
[10:28:51] <ralfbergs2> Hi guys, is there anyone here who can help me with setting up a HA cluster of MongoDB? I have certain restrictions due to AWS, and I need some help how to lay out components...
[13:15:43] <quattro_> I’m having some random issues with my mongodb replicaset (3.2.8), occasionally the cpu usage will go to 100% all the time on the primary which makes my whole app slow
[13:15:57] <quattro_> the workload is fairly constantly so I have no idea what is causing this high load
[13:17:04] <quattro_> http://imgur.com/a/GumVQ here’s an overview of the stats right now
[13:26:20] <ohmyfromage> here is an example of an element in my json http://pastebin.com/DJ1yeQ1s
[13:26:38] <ohmyfromage> how would I query all elements that have source and target undefined?
[13:36:06] <quattro_> even if I shutdown traffic to the replicaset the cpu usage still remains at 100%
[13:49:24] <Faris> quattro_, did u look at mongo's logs?
[13:49:51] <quattro_> Faris: yeah nothing in mongo’s log
[13:51:57] <quattro_> only thing I can do to solve it is step down the primary
[14:50:04] <docmur> I have the following encrypted database information: http://pastie.org/10927371 I have the following C code, trying to read that information: http://pastie.org/10927373, The problem is I'm getting (null) from the printf of str. Does the mongo C driver have a function to get the information from the database?
[15:39:13] <Faris> docmur, what do you have in your query?
[15:39:47] <docmur> I actually fixed, by accessing the value_type and then accessing the bson_type structure and pulling out the str of the v_utf8.
[21:14:19] <despai> having a collection with startDate and endDate (with times) how can I group the documents by consecutive days? I'm turning crazy with this
[21:55:59] <despai> guys, do you think that with aggregate I can group by consecutive days of the month
[21:56:06] <despai> or is it a must to use mapReduce
[22:00:57] <cheeser> i don't see how aggregation can do that. you don't really have clear group boundaries.
[22:01:36] <inspiron> from mongo shell how can i check a collection to see a specific field ever has a value? I want to see if "myField" ever has a value associated with it in a given collection
[22:14:16] <johnjohn101> just to make sure this is correct. the only way to project just one field in a subdocument is to use a $project from the aggregation framework, right?
[22:14:56] <cheeser> you can do projections with find(), too.
[22:16:33] <johnjohn101> i have this document and want to return {answer : 06/08/2016} i can do this in aggregation but wasn't sure i could do in just the find. http://paste.ubuntu.com/22083147/
[22:16:57] <cheeser> you "know" but you weren't sure?
[22:41:37] <jamieshepherd> Hey. I have a collection of matches, with an array of players [0,1,2,3], where each player has a nickname. I want to return all of my matches that a specific player has played, ie. where the player's nickname exists in the players array
[22:45:39] <jamieshepherd> Kinda something like where players[ANY].username is equal to foo
[22:57:25] <jamieshepherd> or where players contains an array with the username foo