[00:38:40] <Tug> when adding a relation to 2 services, events "joined" and "changed" are not synchronized between the 2 services. For instance my hooks execute in that order :
[00:38:40] <Tug> service1-relation-joined > service1-relation-changed > service2-relation-joined > service2-relation-changed, but what I was expecting would be to have both "joined" hooks completed before running "changed" hooks.
[02:30:20] <maybeno> Hey all, anyone recently try and install an older version of mongodb (2.4.10) via the redhat RPMS? I've been trying to install the older version via the documentation but it only sees the latest.
[02:49:45] <in_deep_thought> is there any way to update a document based on whats in the callback? like this: http://bpaste.net/show/wzs0wDHTvMmjmMe3EEJi/
[03:00:53] <Reflow> i have a database containing 5mill~ rows
[03:01:01] <Reflow> but its taking too long to execute a query
[03:01:09] <Reflow> while i had the exact same data in a sql server database
[03:01:12] <Reflow> and it took no time for queries
[03:37:21] <maybeno> depends on what you have indexed
[03:37:34] <maybeno> and what exactly your are querying
[03:41:06] <tonph> hi guys, am new in this. Just need a help. I am trying to cpickle and then compressed an google doc feed object and store in mongo db. But its giving me error how can i store the compressed string
[03:43:56] <tonph> any one has any idea on how to store lz4 compresed string in mongodb
[03:54:28] <maybeno> make to sure you are doing cpickle correctly before compression maybe.. http://sergeykarayev.com/storing_numpy_array_in_mongo/ ?
[04:30:50] <joannac> I'm banning kfb4 for connection unstableness
[04:41:33] <tonph> Hi, anyone has tried to store lz4 compressed dumps of string to mongodb
[05:03:11] <s2013> can you dl mongo db using sudo apt-get on ubuntu ?
[05:03:24] <s2013> i tried following the official instructions but i get an error "cannot execute binary file"
[05:04:46] <m3lol_> I'm having trouble updating multiple documents
[06:13:42] <joannac> not sure what you're looking for there...
[06:22:06] <kozer> Hi to everyone! I have this query: db. points.find({ geo: { '$geoWithin': { '$geometry': { type: 'Polygon', coordinates: [ [ [ 8.3056640625, 46.830133640447386 ], [ 35.57373046875, 46.830133640447386 ], [ 35.57373046875, 35.28150065789119 ], [ 8.3056640625, 35.28150065789119 ], [ 8.3056640625, 46.830133640447386 ] ] ] } } } },{price:true}).sort({ price: -1 }).limit(500). What is the right index for this? I tried some indexes : {price:-1},{geo:'
[06:22:07] <kozer> 2dsphere'},{geo:'2dsphere',price:-1},{price:-1,geo:'2dsphere'} and {price:-1,"geo.coordinates":'2dsphere'}, but the query is still slow.Only when i use hint with "price_-1" the query time drops to 18ms.When mongodb choose for me the query time is 1766ms!
[06:23:51] <kozer> Derick: Thanks a lot about yesterday, your help was tremendous!
[06:24:15] <m3lol_> joannac: i created a new collection, dumped the data into that collection, and ran that same update....still just one document updated
[08:23:40] <Zelest> it seems to stay like that until I restart php-fpm
[08:24:24] <kees_> i've seen that before, it stays till you've reused every connection in your pool (which means that restarting php-fpm solves it as well)
[09:40:13] <lucsx> I can't understand why mongodb isn't starting the http stats server, I made sure to have nohttpinterface=false (didn't work with it commented either)
[09:45:27] <louisrr> did you try it with it set to true?
[09:46:54] <lucsx> louisrr, set to true means that it shouldn't start
[09:47:39] <louisrr> anybody know why my save statement in PHP won't work? http://pastebin.com/3tsV7rqT
[10:18:37] <arussel> is there a way using shell to use a variable as property name ? so var foo = "bar", db.xx.insert({foo: "y"}) would result in {"bar":"y"} ? at the moment I'm getting {"foo":"y"}
[10:20:54] <arussel> found it var x = {}; x[foo] = "bar"; db.xx.insert(x)
[10:33:41] <louisrr> yea I was going to say it should be like a regular javascript statement where you use var x as an array name
[13:15:38] <martinrd> What user privilege/role is needed to list all collections in a database?
[13:39:24] <vaxxon> I have a large number of zip files, and intend to have them unzipped, and the contents of each zip file recorded by its name and md5 hash. Given an md5 hash, I want to be able to search an entire mongo document and get the name of the zip file it was contained in. Would I be able to declare md5 to be an index? This structure work okay, or is there a more efficient way to do this?
[13:48:23] <betty> Can anyone tell me if it is possible to use findAndModify to change the type of a field? I need to change a field from int32 to String, if it exists and has a value.
[14:08:00] <q851> I'm having an issue with replication on one of my clusters. I have 3 replica sets (no sharding), three config servers (on the same servers as replica sets), and a number of mongos instances.
[14:08:41] <q851> 01 - current primary, 02 - secondary (behind 3800 secs), 03 - secondary (up to date)
[14:09:17] <q851> I have hidden 02 but it is still falling behind on replication.
[14:10:50] <q851> This isn't the first time it has fallen behind. It seems to do this a bit. Can someone help me diagnose the problem?
[14:18:34] <thewiz> if anyone has the time I would really appreciate it http://stackoverflow.com/questions/23657254/mongodb-mongoose-storing-subdocument-of-a-variable-to-a-variable
[14:37:57] <TylerE> I have a weird case...I have some Python code using Pymongo that runs an upsert..... on my dev box (windows) everything works fine. On the linux server the upsert is totally failing (no row is updated or inserted and PyMongo returns None
[16:48:53] <kagaro> anyone else get undefined method `new_record?' on an instance of Mongoid::Criteria when saving a document with both embeds and has_many in it?
[16:50:37] <zylthinking> hi, any one knows whether the mongodb c++ driver can be used for both 2.4 & 2.6
[16:52:23] <zylthinking> hi, any one knows whether the mongodb c++ driver can be used for both 2.4 & 2.6? what if a 2.6 feature sent to 2.4 server?
[17:13:29] <diogogmt> is it possible to apply a projection after a group in the aggregation pipeline?
[17:13:39] <diogogmt> my query is returning empty if i apply the projection on it
[17:19:39] <mlg9000> Hi.. I'm having some issues with a geo-redundant replica set, it seems when I lose one site (still have a quorum) I can use mongodb...
[18:28:02] <subz3r0> atm im searching a solution to fill a database per remote with text, pictures and statistics(graphs) which should work at the end like a presentation and will be shown on a screen
[18:28:13] <subz3r0> would that be possible with mongodb?
[18:29:27] <subz3r0> hardware would be a raspberry pi
[18:30:18] <subz3r0> someting like that: server sends data -> raspberry pi --> tv screen
[18:31:13] <subz3r0> the data should be repeated on the screen until the db gets new text, pictures and/or statistics
[19:22:49] <cheeser> oh, i think any claims to multithreading there are mostly wishful thinking.
[19:25:27] <qutwala_> so, if i'll try to use haddop driver for mongodb it should improve performance, right? Because MongoDB does not support hyperthreading or does it?
[19:26:11] <cheeser> i don't know anything about hyperthreading support either way
[19:28:33] <qutwala_> okay, do you mean increace number of MR on hadoop or in MongoDB?
[21:18:24] <tmcw> somewhere between bleeding edge and obsolete :)
[21:18:56] <tmcw> i'm wondering about the overlap between this method and mongo's basic indexes - it looks like each s2-based geometry can contribute hundreds of index entries into mongodb
[21:21:42] <tmcw> there also seems to be a bunch of dead code in the implementation, which is kind of puzzling and makes me wonder if the /mongo repository is just part of the equation
[21:36:19] <dberg2> I'm trying to understand some failed updates in a sharded collection. The update fails because no document was found. I'm using the _id in the selector although the collection has a different shard key.
[21:37:02] <dberg2> The default seem to be reads from the primary.
[22:04:20] <devdev> i'm having one hell of a time getting $pullAll to work, and to make matters worse I'm trying to do it thru mongoose (a node js module)
[22:04:51] <devdev> i can't get the example to work: http://docs.mongodb.org/manual/reference/operator/update/pullAll/