PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 29th of May, 2013

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[05:23:13] <belak> I'm looking at using nosql for an app I'm writing... and I'm trying to determine how I'd organize the data I need. Essentially, there are a number of posts and each post will have a file associated with it, as well as a bunch of tags. All that's relatively simple, nesting the tags inside some sort of posts object... but how would I find all posts with a specific tag? Iterating through everything seems really efficient, but please correct me if I'm wr
[05:36:33] <adoniscik> what is the idiomatic way to filter elements of a collection by co-occurrence? Say I have collection of tuples with (document, user, rating). For a given pair of users, how can I obtain the relevant tuples with *common* documents?
[06:04:46] <sureshsaggar> hey..
[06:04:52] <sureshsaggar> Is there an API in mongodb that returns the delta of updated documents after a certain timestamp?
[06:05:55] <sureshsaggar> Just like secondary replica set getting updated after a certain interval, we need to store the same delta updates some place else programitically
[07:19:08] <groundup> I am getting assertion: 13106 nextSafe(): { $err: "Invalid ns [.kidtrips]", code: 16256 } when I try to restore mongorestore --collection kidtrips /kidtrips/mongobackup
[07:23:42] <groundup> nm, removed the collection
[07:24:40] <double_p> you can do so via --drop as option to mongorestore
[07:34:47] <[AD]Turbo> hola
[07:44:24] <ncls> hello
[08:17:08] <Nodex> finaly removed that winblows 8 pile of crap
[08:17:13] <Nodex> \o/
[08:17:16] <Zelest> yay!
[08:17:19] <ncls> haha
[08:17:36] <Nodex> 6 hours to format a 1tb drive from that GPT to NTFS :/
[08:17:59] <Zelest> o_O
[08:18:02] <ncls> Nodex I was browsing an archive of this channel when I saw you were talking about Cahors with someone, are you from France ?
[08:18:16] <Nodex> No but my family lives there
[08:18:25] <Nodex> I am going there on 16th June too :
[08:20:19] <ncls> ok !
[08:20:47] <ncls> I live in Toulouse, that's not far from Cahors
[08:22:20] <Nodex> yes, I fly in to Blagnac
[09:04:00] <johmue> hi there
[09:06:09] <johmue> i have a weird behaviour with chrome and mongodb under Win7, starting Chrome causes a boost in perfomance when using the aggregation framework and i don't know why
[09:06:59] <johmue> no other program causes this behaviour - it runs 6-8 times faster with chrome opened than running stand alone
[09:16:33] <Number6> johmue: What version of MongoDB?
[09:20:56] <johmue> it's 2.4.3
[09:21:29] <johmue> i noticed that the normal query speed also increased by the factor of 6-8
[09:22:14] <Number6> johmue: Both MongoDB and Chrome use the V8 javascript engine... I'd imagine (and I can only say this for Linux, not Windows), that the OS is caching the V8 binary in RAM as multiple processes are using it. In Linux, the OS would have cached the binary in RAM anyway
[09:22:31] <Kosch> hi
[09:22:37] <johmue> i have a dataset of ~26 GB and 16GB RAM on my PC
[09:22:49] <johmue> that would be possible
[09:27:06] <Kosch> Question related to replication: I've a hidden instance which appears only from time to time and has changing IP. Is it possible, regardless if this is listed in the members, to sync it?
[09:28:18] <kali> Number6: only if they're using it as a shared library (system wide .dll or .so) and i doubt very much they do
[09:29:49] <kali> johmue: this is really weird. the AF does not make use of V8 anyway, so i really think that's not it
[09:35:15] <johmue> i took a closer look at the code noticed I was wrong - the aggregation framework was not involved... it is a normal query that runs through the whole dataset. So I have to check if it is also the case for the aggregation framework - i'm sorry
[09:35:22] <hjrnunes> Hi everyone, is it possible to use the cursor.min / max with pymongo? I'm trying to get around https://jira.mongodb.org/browse/SERVER-8135 but I can't use the array solution as I'm already indexing an array for that query
[09:35:28] <johmue> but for normal queries this is still valid
[10:33:19] <sorre> hi, i am trying to use a $each modifier in php but i cant find any examples, is this the right usage? $this->dbUser->update(array('_id' => new \MongoId($idUser)), array('$push' => array('follows'=> $aQolles)), array('each' => true));
[10:36:50] <sorre_> whoops, timed out. Did you guys get my question or shall i ask again? =)
[10:52:35] <hjrnunes> Hi everyone, is it possible to use the cursor.min / max with pymongo? I'm trying to get around https://jira.mongodb.org/browse/SERVER-8135 but I can't use the array solution as I'm already indexing an array for that query
[11:29:55] <_DomY-Dom> http://pastebin.ca/2384419
[11:33:10] <Nodex> is there a question?
[11:40:02] <Kosch> thats the question ;-)
[11:42:43] <_DomY-Dom> Nodex: Yeah, mongod returns me to prompt...
[11:56:43] <zapzup> hi all, i have this snipplet of a mongodb script http://pastebin.com/Hbd4syf7
[11:57:07] <zapzup> which finds an image, and creates a DBREF to that image inside another document (via update)
[11:58:01] <zapzup> the script doesn´t work, becaus the image._id syntax doesn´t seem to give the value. it seems like the variable isn´t set at all. can someone help? (im absolutely new to mongodb)
[12:01:28] <Nodex> _DomY-Dom : and what's the question because that's a statement
[12:02:16] <kali> zapzup: you want findOne, not find
[12:02:24] <kali> zapzup: find() returns a cursor
[12:05:12] <zapzup> kali: thanks alot, that seems to work!
[12:05:30] <Nodex> satified_customers++
[12:05:40] <Nodex> satisfied*
[12:06:56] <kali> good dead of the day
[12:07:05] <Nodex> deed*
[12:07:10] <Nodex> deaad = not alive :P
[12:07:16] <Nodex> -a
[12:07:37] <kali> indead
[12:07:47] <Nodex> haha
[12:19:48] <_DomY-Dom> Nodex: The question is why, it shouldn't... And those were the logs
[12:21:12] <hjrnunes> Hi everyone, does anyone know how to use cursor.min / max with pymongo?
[12:28:44] <Nodex> _DomY-Dom : the answer is right in the log ..... remove the LOCK file
[13:12:40] <remonvv> "nscanned:0 nupdated:1 upsert:1 keyUpdates:0 locks(micros) w:169178 168ms", anyone any idea what the "w" is here?
[13:15:44] <Nodex> internal write counter?
[13:16:04] <Nodex> i/e the increment of the current number of docs in that collection?
[13:16:20] <remonvv> Are you asking or telling me? ;)
[13:16:27] <Nodex> bit of both
[13:16:40] <remonvv> Sounds reasonable
[13:21:03] <Nodex> trying to tail my log to see what it might be but I don't have any long running queries :(
[13:22:15] <Nodex> ooo got one
[13:23:14] <Nodex> right well it's not the counter as mine is 114k and the "w" was 114k
[13:23:19] <Nodex> 107k*
[13:32:21] <Nodex> http://www.nodex.co.uk/article/26-05-13/document-record-versioning
[13:43:48] <Nodex> remonvv : "w" = the length of time in microseconds that MongoDB waited for a lock
[14:19:10] <arthurnn> hi.. i jsut finished draining a node on a shard cluster... but i still see deletes on those boxes after the draining is done.. any reason for it??
[14:19:34] <arthurnn> also I still see, in there, the DB that was suppose to be drained
[14:19:35] <Foxandxss> Hi, Im going to start into NoSQL world and I see in a lot of places that there is no join, I guess, no more relationships. Do you know any document that explain how NoSQL works or compare to relational dbs, thanks :P
[14:20:22] <Nodex> LOL
[14:20:25] <Nodex> 42.html
[14:20:49] <Nodex> it works how you want it to work, write your code to suit your data not VV
[14:22:11] <Foxandxss> nvm, I guess it will become clear when I dig more
[14:22:41] <Nodex> you really need to know your access patterns
[14:22:54] <Nodex> or at least have an idea of what they will be
[14:23:31] <Nodex> and you shuld always remember the path of least resistance will be the fastest which means embedding (mostly) makes more sense than relating
[14:24:44] <Foxandxss> makes sense
[14:25:21] <Foxandxss> I come from an easy of ORM "Ask me, I give you all you want, well formated and ready for business" :P
[14:25:58] <Nodex> I advise removing the ORM and learning the fundamentals
[14:26:22] <Foxandxss> I know SQL and relational databases fundamentals, but no idea about nosql
[14:27:33] <Nodex> tbh, you're better off asking specific questions
[14:28:50] <jsec> Would this be the place to ask about language-specific driver issues?
[14:29:01] <Foxandxss> there is not a concrete question. I'm just learning node + mongo and things like that and in some sites I see that there is no relations, but moongose seems to have some kind of relations (just, 1-n and 1-1 but not n-1 or n-n), so I just got confused, someone wants to relate, others don't
[14:29:47] <Nodex> jsec: best to ask, if someone can help they will
[14:30:28] <Nodex> Foxandxss : that's down to the driver / ORM creators personal preference I would guess
[14:30:45] <Foxandxss> I see
[14:30:58] <Nodex> some ODM/ORM's support relations by automagically getting the other document for you
[14:31:05] <Nodex> but it's still an extra query
[14:31:13] <Nodex> the point is to avoid the query
[14:32:51] <Foxandxss> Nodex: thanks. I think I will just try when the moment comes :)
[14:32:57] <starfly> Foxandxxx: recommend the free, online MongoDB developer training that 10gen offers (see https://education.10gen.com/)
[14:34:52] <Foxandxss> starfly: seems good
[14:35:03] <jsec> I'm working on a daemon that interfaces with inotify to add file information into mongo every time a file is added to a specific folder. the parameters for said information are stored in a static GArray. There are 2 separate queries I need to perform on the db to get a couple of validation checks. Problem is, every time I run one of the queries, the mongo_find cursor overwrites the memory address for the static GArray, and I can't figure out if it'
[14:36:20] <starfly> Foxandxss: they are certainly helpful, I've taken the Python and Java courses (and DBA one) and got a lot out of all of them. Good luck and sorry to mangle your name earlier
[14:36:54] <Foxandxss> starfly: liked the pr0n part :P. I will checkout them, the python one seems good, I don't like java at all :P
[14:37:19] <starfly> :)
[14:37:59] <Nodex> tab name completion ftw
[14:38:27] <starfly> Nodex: thanks!
[14:39:03] <Foxandxss> normal problem in IRC newcomers :P
[14:40:23] <starfly> Foxandxss: indeed, never got into IRC before in my 30+ years in computing
[14:41:00] <Foxandxss> starfly: that's bad, IRC is REALLY interesting and this server has a lot of good channels, for everything
[14:41:35] <starfly> Foxandxss: cool, just have to harmonize it with the usual never-ending workload, thanks
[14:42:22] <Foxandxss> starfly: do like others, 24/7 connected but none have ever seen then talking :P. Nah, sometimes you can find good talks around there
[14:43:09] <starfly> Foxandxss: agree, stay connected forever… :D
[14:51:56] <bartzy> Yo :)
[14:52:17] <bartzy> In the PHP driver, we now have to do new MongoBinData($blob, MongoBinData::BYTE_ARRAY) ?
[14:52:29] <bartzy> otherwise it yells
[15:09:52] <quetz> How can i get name of replica set? I can connect to it with mongo client, but when i connecting with pymongo, i have "the replicaSet keyword parameter is required." exception
[15:11:56] <starfly> quetz: go into mongo shell and execute rs.conf()
[15:12:42] <quetz> starfly, thx
[15:15:46] <double_p> ok.. i've some secondary/backup site. i want to mitigate the point that when this node goes down (or drops connectivity) a reelection/rs.reconfigure happens. strategies?
[15:22:07] <quetz> starfly, so field "_id" = name of replica set? I am getting "No replica set secondary available for query with ReadPreference SECONDARY" error so i am not sure is it because wrong name or server problem..
[15:24:15] <johntron> i have an array of subdocuments with unix timestamps as a field. How do I use the timestamps to add a human-readable date to each of the subdocuments?
[15:25:09] <johntron> i think this is two questions: 1) how to add a field to all subdocuments in an array and 2) how to create a date string from a (timestamp) field.
[15:26:13] <bobinator60> is this a good place to ask quesetions about pymongo?
[15:26:23] <bobinator60> or is there another chan?
[15:26:37] <bobinator60> here's my query: https://gist.github.com/rbpasker/5671160
[15:26:56] <bobinator60> and the error i get is: "attributes.attribute_type" : {"$in", self.md_fields}
[15:27:04] <bobinator60> TypeError: unhashable type: 'list'
[15:27:16] <bobinator60> self.md_fields is indeed a list
[15:27:20] <johntron> your , should be a :
[15:27:22] <johntron> bobinator60
[15:27:30] <bobinator60> OMG
[15:27:35] <bobinator60> sorry, so lame
[15:29:25] <bobinator60> very embarrassing. thanks
[15:30:01] <johntron> np
[15:39:13] <bartzy> Derick: Here perhaps? :)
[15:39:24] <Derick> yes
[15:39:30] <bartzy> Derick: Are we now supposed to do: new MongoBinData($blob, MongoBinData::BYTE_ARRAY) for binary data ?
[15:39:43] <bartzy> Cause I get an error for just doing new MongoBinData($blob)
[15:39:47] <Derick> hmm, I don't know. I've not looked
[15:39:50] <Derick> what error do you get?
[15:40:00] <bartzy> ongoBinData::__construct(): The default value for type will change to 0 in the future. Please pass in '2' explicitly.
[15:40:08] <bartzy> new MongoBinData($blob, 2) looks weird :|
[15:41:43] <Derick> oh, right
[15:41:47] <Derick> I didn't know we had a constant
[15:43:08] <bartzy> so the expected use is : new MongoBinData($blob, MongoBinData::BYTE_ARRAY) ?
[15:43:34] <Derick> yeah, or 0 if you want to switch to the new format
[15:44:20] <starfly> quetz: sorry, been away, yes, the _id field in the replica set name. Looks like your read pref is in the way, connect to the primary and run that rs.conf() command or "use local" and "db.system.replset.find().pretty()" instead
[15:47:21] <Derick> bartzy: weird we have no constant for 0
[15:57:52] <bartzy> so the expected use is : new MongoBinData($blob, MongoBinData::BYTE_ARRAY) ?
[15:57:55] <bartzy> sorry!
[15:57:59] <bartzy> double enter
[15:58:07] <Nodex> lol
[15:58:10] <bartzy> Derick: What is the new format ?
[15:58:21] <Derick> the new is actually the old
[15:58:36] <Derick> sub[type 2 (current default), has an annoying extra thing
[15:58:41] <Derick> type 0 does not
[16:04:36] <johntron> i answered my own question: https://gist.github.com/johntron/5671463
[16:04:42] <johntron> For a collection of subdocuments, adds a human-friendly date string using an existing timestamp
[16:07:45] <quetz> starfly, on pretty() command it answer error: { "$err" : "not master and slaveOk=false", "code" : 13435 }
[16:08:28] <starfly> quetz: run rs.slaveOk() first then
[16:08:29] <quetz> the problem is, admin asks me if my report system can connect to secondary (primary just closed for queries)
[16:08:49] <quetz> "not master and slaveOk=false" on slaveOK
[16:11:27] <quetz> you said "connect to the primary" - i can't do it. only secondary open
[16:12:07] <starfly> quetz: NP, connect to the secondary, run rs.slaveOk() command, then others
[16:12:40] <quetz> SECONDARY> rs.slaveOk()
[16:12:40] <quetz> not master and slaveOk=false
[16:13:22] <quetz> SECONDARY> db.system.replset.find().pretty()
[16:13:22] <quetz> SECONDARY>
[16:15:12] <starfly> quetz: "use local" before the db.system...
[16:17:07] <quetz> http://pastebin.com/XJ5CK4gu
[16:17:27] <starfly> quetz: good deal
[16:18:10] <quetz> so.. what now? :) i still can't connect to secondary with pymongo
[16:18:59] <starfly> quetz: so, you'll have to post your connection code...
[16:19:19] <starfly> quetz: removing details for security, of course!
[16:21:37] <harenson> quetz: MongoClient("foo.local:27017", slave_okay=True)
[16:22:02] <epirusl1> db.collection.find(something) .if the result is None,and How to get the null value
[16:22:30] <harenson> quetz: http://api.mongodb.org/python/current/examples/high_availability.html#secondary-reads
[16:23:13] <quetz> http://pastebin.com/fD4vCcyW
[16:27:39] <quetz> brb
[16:27:42] <harenson> quetz: what the output of rs.conf()
[16:27:51] <harenson> 's
[16:28:53] <quetz> http://pastebin.com/7g5rp95b
[16:31:10] <starfly> quetz: try MongoReplicaSetClient
[16:31:15] <harenson> quetz: sorry, rs.status()
[16:31:24] <harenson> starfly: +1
[16:31:37] <harenson> it's the new one method
[16:41:33] <epirus1> who can help me ?
[16:43:16] <epirus1> I have a stupid question: If a query can't find any document. How do I know it ? no return value ?
[16:43:58] <harenson> epirus1: pymongo?
[16:44:08] <epirus1> harenson, yes
[16:44:44] <harenson> epirus1: you have to import the sys module
[16:44:56] <harenson> then ask for the last error
[16:45:44] <harenson> epirus1: sys.exec_info()[0]
[16:48:51] <harenson> epirus1: instead, better use .count() on the cursor
[16:50:04] <harenson> epirus1: it's a method of pymongo.cursor
[16:58:38] <epirus1> harenson, good ideas . but I have another question: db.collection.find().skip(10).count() the skip seems does't work. I get the same count number
[16:59:44] <harenson> epirus1: db.collection.find().count() == db.collection.find().skip(10).count() ?
[17:01:21] <epirus1> harenson, my result is the same value
[17:01:26] <starfly> epirus1: I believe skip() will affect a returned cursor, but not the count() value
[17:02:54] <epirus1> starfly, of course
[17:03:18] <harenson> starfly: you're right
[17:03:52] <starfly> not particularly intuitive, but what the heck!
[17:06:48] <harenson> starfly: xD
[17:14:19] <harenson> epirus1: try this: foos = db.foo.find().skip(10), then execute: foos.explain()['n']
[17:15:38] <harenson> epirus1: or you could do: print db.foo.find().skip(10).explain()['n'] if you just want the count result
[17:15:40] <quetz> starfly, http://pastebin.com/j8Tibdft
[17:19:38] <starfly> quetz: con = MongoReplicaSetClient("10.100.10.4:27017", replicaSet='pwsocagr')
[17:22:25] <starfly> from pymongo.read_preferences import ReadPreference
[17:22:37] <starfly> con.read_preference = ReadPreference.SECONDARY_PREFERRED
[17:28:46] <phaidros> hi, does a replica set of two make sense? if the first one fails, the second one is no majority, what will happen? (I am not sure if I understand the docs completely here)
[17:29:00] <kali> phaidros: you need an arbiter
[17:29:27] <phaidros> kali: ok, but that one shouldn't be on any of the hosts, right?
[17:29:44] <phaidros> (s/any/any of the other ones/)
[17:30:02] <kali> nope, you need to shove it somewhere else, but it's very cheap
[17:30:15] <kali> so you can have it running on your app server for instance
[17:30:38] <quetz> same error with MongoReplicaSetClient :/
[17:31:09] <quetz> pymongo.errors.AutoReconnect: No replica set members available for query with ReadPreference SECONDARY_PREFERRED
[17:32:12] <phaidros> kali: k, thanx
[17:38:40] <epirus1> harenson, wow,cool. thx again
[17:40:59] <bobinator60> any mongoengine people on here? is there any reason to use the mongoengine queries instead of using direct mongodb query documents?
[17:42:50] <starfly> quetz: con = MongoReplicaSetClient("10.100.10.44:27017", "10.100.10.4:27017", replicaSet='pwsocagr', read_preference=ReadPreference.SECONDARY)
[17:43:31] <quetz> 10.100.10.4:27017 - i can't connect to this ip
[17:44:07] <starfly> quetz: that explains a lot, your secondary is running there!
[17:44:38] <quetz> but i connect to b519 in mongo client
[17:44:41] <quetz> and its all fine
[17:45:26] <quetz> http://gyazo.com/9c275fc5ff3838ed3a44b752fdfafbca
[17:47:25] <quetz> so maybe i need to have access to this IPs too? admins only opened firewall on b519 for my IP
[17:47:46] <quetz> but still mongo.exe works :]
[17:48:23] <starfly> quetz: what's the output from nslookup b519.nivalnetwork.com? Also, can you upgrade your MongoDB, looks like you're running 2.0.1
[17:49:39] <quetz> yes, its 2.0.1 and i can't upgrade it
[17:50:14] <quetz> http://pastebin.com/HtjPLPHa
[17:52:58] <starfly> quetz: so, this is a network access issue, I hadn't realized that you were running your Pymongo outside a fire-walled environment that was using NAT. You'll presumably need a public IP address for the secondary box and use that in your connection setup
[17:55:07] <quetz> Ok, thanx a lot, starfly
[18:02:57] <starfly> quetz: when you ran the mongo shell command (in Gyazo screenshot), were you outside or inside the firewall? That connected to the secondary at 108.168.173.3 (public b519 IP addr)
[18:04:02] <quetz> mongo shell and python interpreter on same PC
[18:08:27] <starfly> quetz: just for grins, try ReadPreference.SECONDARY
[18:10:19] <starfly> quetz: i.e. not SECONDARY_PREFERRED
[18:12:31] <quetz> ok, trying. btw both commands - connection and iterating through result goes very slowly. its like it waiting 1 min
[18:13:30] <starfly> quetz: LOL, whether it works is one thing, speed is another...
[18:14:09] <quetz> nope, same error
[18:14:28] <quetz> i mean timeouts look like it is a network problem
[18:14:48] <quetz> considering all instantly quick in mongo shell
[18:16:24] <starfly> quetz: so, I'm wondering if the root cause is that you're replicating inside the firewall with NAT'ed IPs and when the Pymongo client goes after the connection, it tries to use the NAT'ed address instead of the public address
[18:17:50] <starfly> quetz: if you control the whole environment and it isn't currently in production use, perhaps you can re-establish the replica set with the two public IPs
[18:18:41] <quetz> it is in production =) I'll try to debug a pymongo a little..
[18:18:50] <starfly> quetz: or, perhaps if you have both public IPs or hostnames, you can specify those in the Pymongo connection and it'll work--certainly an easier try.
[18:27:36] <quetz> starfly: you was right, pymongo go through this 10.100.. members and all connections fails -_-
[18:27:47] <starfly> quetz: good luck and BTW, you might want to go with another secondary or at least an arbiter to allow proper election of an available secondary if the primary goes down
[18:28:28] <starfly> quetz: OK, good to know, so you might get the public IP for the primary MongoDB host and put both in your Pymongo connection setup
[18:45:08] <bhangm> hello folks, does anyone know if a straight upgrade from 2.0.9 replset w/ auth to 2.4.3 is possible? The docs do not seem to indicate otherwise, but the last comment on this (https://jira.mongodb.org/browse/SERVER-6897?focusedCommentId=160903&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-160903) JIRA issue mentions upgrading via 2.2.1
[18:55:08] <starfly> bhangm: certainly looks you have to go through 2.2 first
[18:55:51] <bhangm> starfly: well, that is unfortunate, but thank you
[18:57:08] <starfly> bhangm: that is, assuming you want to do the upgrades w/o downtime
[18:57:44] <bhangm> starfly: that is correct, no downtime is the goal
[19:00:05] <bhangm> starfly: i.e. a rolling upgrade of the replica set
[19:06:49] <harenson> epirus1: your welcome :D
[19:13:03] <acalbaza> does anyone have a good auditing solution? i have a collection that i'd like to track changes for. simply capturing the state of the collection along with a timestamp may be enough for me.
[19:23:52] <oblio> halo
[19:25:30] <oblio> i'm trying to build mongodb 2.4 from source on smartos and i'm getting this error: AssertionError: Unsupported architecture: i86pc:
[19:27:36] <starfly> oblio: what's the underlying hardware, 32 bit-based? Did you get the 32-bit binaries? http://www.mongodb.org/downloads
[19:28:19] <starfly> oblio: also, what OS on top of SmartOS?
[19:29:11] <oblio> smartos
[19:29:13] <starfly> oblio: not familiar with SmartOS, is it really hypervisor and OS>
[19:29:50] <oblio> yes
[19:30:59] <starfly> oblio: the assertion error suggests that 32-bit architecture is being used, so you have to at least match with 32-bit MongoDB binaries. I have no idea if SmartOS has enough to support MongoDB
[19:31:37] <oblio> smartos is running 64bit
[19:31:54] <starfly> oblio: going back to your earlier comment, sounds like you're compiling MongoDB source.
[19:31:59] <oblio> yes
[19:32:50] <starfly> what does "uname -p" give you on SmartOS?
[19:33:43] <oblio> confusingly, no
[19:33:48] <oblio> it returns i386
[19:33:49] <oblio> i'm trying --64
[19:33:53] <oblio> it's actually making progress
[19:33:59] <oblio> and not breaking
[19:34:08] <starfly> oblio: good deal, hope that works
[19:34:30] <oblio> i didnt catch that it would be assuming 32bitness
[19:34:40] <oblio> i guess that would have been buried around the error
[19:34:55] <starfly> oblio: 32bitness--like it!
[19:35:08] <oblio> woop
[19:38:22] <starfly> oblio: i86pc spec includes 32 and 64 bit (x86 and x86-64), since your SmartOS is 64-bit, sounds like the 64-bit switch should do the trick
[19:48:03] <starfly> quetz: not sure if you're still out there, but although you can't upgrade your MongoDB server side infrastructure, you should try the latest Pymongo (if not already using it). With the mongo shell navigating the same network topology, you'd think Pymongo could toe the line for that as well.
[19:49:13] <quetz> starfly: i updated pymongo to 2.5, i think its latest :<
[20:01:11] <jcalvinowens> Quick (hopefully not stupid) question: is it possible to negate $match in an aggregation query? As in {"$match": "field_name": {"$not": "exclude_me"}}? (That produces an error)
[20:05:04] <crudson> jcalvinowens: http://docs.mongodb.org/manual/reference/operator/ne/#op._S_ne
[20:20:04] <harenson> jcalvinowens: $ne operator
[20:20:36] <harenson> not equal
[20:34:16] <johntron> i just figured out how to use third-party javascript libraries with mongo and added a few years to my life :D
[20:35:18] <danielvw> I'm looking for backup strategy info.
[20:52:34] <Mr_O> hi
[21:19:33] <robovoyo> Does anyone have any insight into why sorting by reverse natural order would be slow (on a non-capped collection)? I have a query that returns in ~200ms on average. When I sort by _id descending it's about 20 times slower. When I sort by $natural descending, it's about 10 times slower.
[21:49:48] <jcalvinowens> crudson: harenson: Thanks!
[23:25:10] <sinusss> hi guys