Closed ofeldt closed 9 years ago
Please move this request over to our Google Group at https://groups.google.com/forum/#!forum/tokumx-user
Hi I am also running into this issue. I have just been renaming the map reduced collection and works temporarily. Please let me know if you have the correct solution
I have multiple long-running MapReduce tasks over multiple collections aggregating results in dynamically created collections for time-series data.
After finishing the development on those JavaScript Map and Reduce functions (~5 per use case), i had it running successfully without errors for 5~10 days.
10 days or so later, i noticed the MR process had empty collections and looked at the logfiles. The log file informed me about a failure upon renaming the temporary collection (i use nonAtomic: true) to its final name. The error given was:
Which looked like an ordinary index-unique-key insert error. My result collection did not have a unique key and just to rule out every error, i dropped all indicies on the input-collection and recreated them.
After restarting the server i still wasn't able to get those MapReduce running again. I tried and dropped all other dynamically created collection and rebooted the server again.
Now the MapReduce worked fine for ~1day, after randomly failing again on "rename" but this time with this error:
I logged into mongo-shell on the database and wanted to list dbs, but got the same error:
Though i could no longer list dbs, i could still "use" one and used the one with my dynamically created collections and started to drop those. While dropping i got the following related error, this time with stacktrace:
I'm unable to drop the remaining collections. I'm unable to run MapReduces. I'm unable to list dbs.
I tried to move the database files to a different location to forcefully remove the collections, but IRC-support said i shouldn't try that. Thus far i might need to drop the entire database with a large amount of collected test-data (which i would like not to).
Help is appreciated. Thanks.