[01:14:48] <jaccob> actualy no, two of them joined
[01:16:59] <cheeser> and rejoined and left and ...
[01:29:02] <dundun> if I'm building an app that requires "users" and "posts", if I'm using mongodb, would it be better to create two separate collections and link them together, or store the posts inside of the one users collection? Is there some kind of documentation that explains the advantages and disadvantages of both structures?
[09:32:54] <Moonjara> Hi! I don't know if i'm the Hi! I don't know if i'm the right place but I'd like some help with basic manipulation in Java. I've a directory with several link as embedded Document. If i do db.directories.findOne({}) in command line i get every link in my directory, but in Java the findOne method does get the embedded documents. Does anyone have any clue to help me? Thanks anyway!right place but I'd like some help with basic mani
[09:33:19] <Moonjara> Sorry, Hi! I don't know if i'm the right place but I'd like some help with basic manipulation in Java. I've a directory with several link as embedded Document. If i do db.directories.findOne({}) in command line i get every link in my directory, but in Java the findOne method does get the embedded documents. Does anyone have any clue to help me? Thanks anyway!
[10:46:58] <kosc> Hello, im using mongoengine for python, and need to create request like Issue.objects.get(project_id=1) (It isn't works). What is the best way here?
[11:12:32] <knotmaker> hi fellas, need urgent help. I'm using mongodb 2.6 Ubuntu 12.4 . I run mongod as mentioned in http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ , It was running fine for a month unless today after a sudden shutdown of the m/c, the db refuse to connect again giving this error :http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
[11:12:59] <knotmaker> dorry the error is Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
[11:13:47] <knotmaker> I tried removing the lock file and run again .. it didn't work
[11:15:51] <knotmaker> need urgent help. I'm using mongodb 2.6 Ubuntu 12.4 . I run mongod as mentioned in http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ , It was running fine for a month unless today after a sudden shutdown of the m/c, the db refuse to connect again giving this error : "Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused"
[12:27:15] <knotmaker> need urgent help. I'm using mongodb 2.6 0n Ubuntu 12.4 . I run mongod as mentioned in http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ , It was running fine for a month unless today after a sudden shut-down of the m/c, the db refuse to connect again giving this error : "Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused"
[12:32:14] <kali> knotmaker: have you checked out the log ?
[12:42:55] <knotmaker> kali: found this in the latest log 2014-08-10T16:26:46.096+0530 [initandlisten] dbexception during recovery: 13537 journal file header invalid. This could indicate corruption in a journal file, or perhaps a crash where sectors in file header were in flight written out of order at time of crash (unlikely but possible). 2014-08-10T16:26:46.096+0530 [initandlisten] exception in initAndListen: 13537 journal file header invalid. This
[13:07:14] <kali> you may have lost some or all of the write in the last minute before shutdown
[13:15:09] <knotmaker> kali: not sure about the loss, I have 40 beta users using the service now ... need to check with them if any data got lost
[14:41:56] <darkomenz> Hello, can anyone help me with the following code. http://pastie.org/private/hetla3jjc1hctheze7kq When i run it the ping command does not detect the offline state when i shutdown mongodb and I am trying to figure out why. Thanks in advance.
[15:00:45] <dmitchell> Sunday morning panic. on edx.org we're getting a seemingly impossible error:
[15:01:03] <dmitchell> File "/opt/wwc/edx-platform/common/lib/xmodule/xmodule/modulestore/mongo/base.py", line 1211, in _get_raw_parent_location
[15:01:33] <dmitchell> # there could be 2 different parents if
[15:02:34] <dmitchell> Let me try again, it's getting IndexError trying to get the [0] element from a cursor following a if cursor.count() == 0: return None guard
[15:04:20] <dmitchell> The line generating the error is https://github.com/edx/edx-platform/blob/release/common/lib/xmodule/xmodule/modulestore/mongo/base.py#L1211
[15:05:43] <dmitchell> I can't reproduce the error on any env I can debug. It seems to be the specific db host or content
[15:11:33] <dmitchell> I should mention we're running MongoDB 2.2.0 (I know, ancient) w/ pymongo 2.4.1
[15:12:18] <dmitchell> Can anyone imagine how cursor.count() could return non-zero but accessing the 0th element as the first op on the cursor could get an IndexError?
[15:14:33] <elux> i just rebuilt my db replica set by adding 3 new nodes, then removing the 3 old nodes.. my application is working fine, and rs.status() looks good.. but im seeing a lot of : replset couldn't find a slave with id 0, not tracking 529513f067c1e37ea40ec2ee
[21:16:02] <s2013> i am looking at an existing mongodb export and there is a __type and className field.. are those native to mongo or was it just the way this thing was designed?
[21:22:35] <Derick> s2013: not mongo native - either designed, or an ODM that did that