0

pymongo.errors.OperationFailure: db assertion failure, assertion: 'can't create index on system.indexes', assertionCode: 13143

I am seeing this error when I am trying to use map-reduce to retrieve all the keys from the documents. The code i am using is one similar to: mapreduceforgettingkeys(link) An interesting thing to note is that I am not seeing the same error on another server when I run the same code.

The only difference between these 2 servers is one is dormant(no new data is being copied) and on another one huge amount of data is being dumped.

Community
  • 1
  • 1
user1524625
  • 271
  • 1
  • 7
  • 19
  • I assume the server you are dumping is the one returning the error? Are you using mongodump? If so, what options? Did you fsync/lock the database before dumping it? – Bernie Hackett Aug 21 '12 at 20:30
  • I am using the db.insert/db.update to dump(insert) documents, but these operations are via REST calls. yes , you are right error is being seen in the active server! – user1524625 Aug 21 '12 at 22:11
  • Is there anyone who knows wat this error might mean , I tried looking @ the code.But was not able to figure out much :( – user1524625 Aug 22 '12 at 22:10
  • Can you provide any systems information? What version of mongodb and pymongo? Are the configs of the servers are the same? Its just one of them is underload? – Ross Sep 10 '12 at 09:25

0 Answers0