[04:48:28] <oRiCLe> hey all, just a quick one, looking at findAndModify function, if i have multiple instances running this, and using it for say a queue to findAndModify the record that is being worked on as owned by the instance ID, am I going to experience any overlaps or will it work uniquely if there are many simultaneous requests? :)
[04:49:56] <joannac> as long as you structure it right, there should be no overlaps
[04:50:34] <oRiCLe> well the find and modify would be looking for any records wihout a "instance_id" key in it, and setting one basically
[04:54:08] <joannac> should work. might not be very efficient though
[05:09:09] <oRiCLe> hmm thanks, is there any other suggesions for that style of approach? was looking for a redis styled push and pop (not going to be high load so efficiency not too much of a problem) just didnt want a record to get processed twice
[10:51:18] <arussel> I have a mongo instance running on AWS, few queries per second, none above 100ms, but aws show a usage of CPU at 100%. Is it expected ?
[11:03:17] <cheeser> and mongo's eating that cpu? or something else is?
[13:41:25] <Trudko> hi guys is there a problem to import isodate from csv using mongoimport? do I have to use json instead with $date?
[14:04:17] <Trudko> guys i am getting simple error when importing json file into mongo using mongoimport exception:BSON representation of supplied JSON array is too large: code FailedToParse: FailedToParse: Date expecting integer milliseconds: offset:31 file:http://pastie.org/10387465
[14:09:38] <deathanchor> Trudko: dates in json are epoch seconds: ex. { "$date" : 1433721951672 }
[14:16:29] <deathanchor> I'm sure he's migrating from RDB to mongo or something of the like
[14:16:57] <Trudko> sure but i have existing csv data which needs to be imported into db and I dont have to do that by hand
[14:17:11] <deathanchor> Trudko: there is this option, which is basically import it as string and postprocess it on mongo: http://stackoverflow.com/questions/22890082/convert-to-date-mongodb-via-mongoimport
[14:17:31] <Trudko> deathanchor: yeap i found that one
[14:17:58] <deathanchor> yeah, only other method is write your own program to read your data and update the db
[14:18:34] <deathanchor> something like python where you interpret the date then do an insert via pymongo into your db
[14:19:09] <deathanchor> Trudko: you might be able to find someone else's code that might do that for you :)
[14:19:32] <Trudko> well i am writing connector original it produces csv but i had problem with date so I am experimenting tiwh json now
[17:20:42] <deathanchor> anyone know of a good way to search for documents in a collection that are approaching 16MB?
[18:36:51] <jr3> If i'm building up an in memory objct to be saved at the very end of a processing cycle should I be saving throughout processing every so often, currently we wait till the end to save and this results in a 4mb object in same cases to be written to mongo
[18:37:01] <jr3> which can take around ~3.5 seconds to do
[19:50:31] <durre> I want to store some dates (without time). is it possible / a good idea to store them as strings? can I do stuff like db.myDocs.find({when: {$gt: "2015-08-31"}})
[19:51:58] <StephenLynx> you could also do that if you were storing dates.
[19:52:05] <StephenLynx> I strongly suggest you store date objects.
[19:54:21] <durre> but then I have to think about timezones :(
[20:11:16] <saml> hey i see lots of NETWORK logs from replicaset members. And then very slow QUERY and COMMAND
[20:57:14] <saml> it's happening again. such slow mongod what do i do
[20:57:46] <cheeser> do see a bajillion connections again?
[21:04:09] <deathanchor> netstat -an and count how many time_wait and close_wait you got?
[21:23:23] <saml> cheeser, no, I see there's only 150MB left in RAM. no swap used yet
[21:28:43] <Melamo> I recently took on a legacy app backed by mongo 2.4 on the production server. I installed the latest 3.0.x today, and noticed some breakage while using the 3.x mongo client on the 2.4 server. I'm new to mongo and am not familiar w/ the major version changes. What big versions changes should I be aware of?