[09:15:59] <pcmaniac> if i "movePrimary" to another shard, then that's the one that will get most of the queries..
[10:19:14] <halfie|bbl> hi, I get "ERROR: Insufficient free space for journal files" when I try to use a RAMDISK for storing data files.
[10:19:51] <halfie|bbl> seems like a bug in mongodb as I have 64GB of space in the RAMDISK and I can create very huge files (using dd) in that RAMDISK
[10:23:59] <Bilge> You just said you can't sort null/missing keys which is the same thing as saying that it sucks
[10:24:05] <Bilge> Who would even design a database search like that
[10:26:36] <Nodex> then go use something else - simple :)
[11:00:02] <rawl79> Hi there. How to I enable server-side Javascript? I'm getting the following message when I try to run sh.status();
[11:00:03] <rawl79> server-side JavaScript execution is disable
[11:19:29] <Nodex> anyone from 10gen confirm somehting about "mongoexport" ?
[11:20:31] <Nodex> - it seems to spit out json without slashes added - I have written something to output json to mirror this (but it adds slashes as per the JSON spec) and I would like to know if mongoimport will choke on this
[11:22:19] <Nodex> I have managed to write a sh** hot incrememntal backup tool for mongo \o/
[11:33:47] <rawl79> Looking for someone who can tell me what I'm missing or how do I enable server-side JS execution. Here's I'm getting:
[11:36:38] <kali> rawl79: you probably run with --noscripting
[11:36:55] <kali> rawl79: or its configuration file equivalent
[11:46:03] <avinoamr> Hey fellas. Quick question. I run a find() query on a collection that uses a compound index on 2 identically-configured shards. On one shard it's done blazingly fast, and explain() shows that it uses the index. The same query on the second shard, doesn't use the index and takes a long time to complete. When I use hint() for the query, it uses the index and completes as fast as the other shard. Can you please give me any pointers i
[11:49:09] <DinMamma> Hello everybody. Ive added a new shard to my cluster, and waiting for the chunks to redistribute which takes for ages. Since 5oclock last night I have migrated 8million docs, when the cluster is evenly distributed there should be 35.5mi docs on each shard.
[11:49:21] <DinMamma> Anywho, I dont want to wait another two days for it to catch up
[11:49:55] <DinMamma> Is it safe to use the cluster as normal while this is going on?
[13:07:49] <pcmaniac> @DinMamma: as far as i know, you should be able to use it as normal
[13:35:40] <Nodex> anyone used thise guys before ? -> http://greenqloud.com/
[14:16:48] <honi> Hi, is there a channel for MongoDB JS driver?
[14:17:49] <Nodex> some people in here help/support it
[14:21:35] <honi> Well, I'll go ahead and ask then :)
[14:21:38] <honi> So I'm running an express app, and I want to wrap my db connection in a module which will be required in many other modules. I'm using MongoClient to connect to the db. But since the connection is async, how do I export the db object in my db module?
[15:00:50] <dhodgin> hello all, i have a question about replica sets. i've set one up in a dev environment and everyday after about 24 hours of it running i start getting Assertion: 10295:getFile(): bad file number value errors
[15:01:05] <dhodgin> i have to shut down the primary, wipe its db, bring it back up and let it sync off a secondary
[15:02:10] <dhodgin> i have a small database initialization script in our application that wipes the db by dropping all the collections, and then inserts about 200 sample records. when i run this after the replica set has been up for a day or so i start getting these assertions
[15:02:43] <dhodgin> when i initialize the replica set fresh i can run the db script a dozen times in a row with no issues, a day later when i come back in to work i get the assertions
[15:03:34] <saml> dhodgin, how does your script connect to replica set?
[15:03:51] <saml> if you're using replica set, connection needs to be different
[15:05:16] <dhodgin> we have a node.js app that uses mongoose. i use mongoose.connect(connectionString, options, callback{})
[15:05:45] <dhodgin> my connection string is of the form: mongodb://192.168.0.10:27017/dbname,mongodb://192.168.0.10:27018
[15:06:05] <dhodgin> with authentication options passed in seperately
[15:06:13] <Petrogad> hmm for some reason I thought mongoose figured out which was the primary for writes automatically
[15:06:28] <Petrogad> (not really on topic though sorry :P)
[15:06:55] <Petrogad> dhodgin: are you doing a ton of document inserts?
[15:06:58] <dhodgin> the latest version of mongoose fixed an isue with the authentication options and i have tested that if i take down the primary my app automatically starts reading from secondary and the secondary does get elected primary after about 3-5 seconds
[15:07:00] <Petrogad> like just growing a particular document?
[15:07:59] <Petrogad> what version of mongo are you on?
[15:08:03] <dhodgin> not a lot of document inserts. the script drops all collections and then begins reinitialzing them, about 20 collections, about 200 documents in total accross db to initiale it. usually takes about 2.5 seconds to run on a single local instance of mongo, i run this replica set on a second server on internal lan
[15:09:18] <dhodgin> in the log files just before i start getting the bad file assertion i get another error: warning assertion failure n == 1 src\mongo\db\index.cpp 221
[15:23:24] <jiffe98> so something's messed up here, none of my mongodb replicas show my database exists and trying to access it or create a new one I get 'can't find a shard to put new db on'
[15:34:34] <[S^K]> is it possible to install mongos without mongod?
[16:07:01] <jiffe98> so if I have a sharded collection but sharding is broken, can I rebuild it?
[16:11:33] <GRMrGecko> This isn't obvious to me… But how can I run this in the perl driver? "db.posts.runCommand('text', {search: "hands"})" I've tried $collection->runCommand and $collection->run_command
[16:12:03] <GRMrGecko> I've also tried using find.
[16:26:12] <jiffe98> most repo's I've installed mongodb from don't break it out
[16:26:21] <jiffe98> you have to install mongod and mongos
[16:27:18] <jiffe98> it makes sense to break it out though
[18:06:27] <GRMrGecko> How can I do a full text search in perl?