Tokutek / mongo

TokuMX is a high-performance, concurrent, compressing, drop-in replacement engine for MongoDB | Issue tracker: https://tokutek.atlassian.net/browse/MX/ |
http://www.tokutek.com/products/tokumx-for-mongodb/
703 stars 97 forks source link

MongoImport: problem with Duplicate Key #1242

Open bitliner opened 8 years ago

bitliner commented 8 years ago

What happened is the following:

The import fails because it throws "Duplicate Key" error.

But the documents that I am trying to import are not in the collection, so there is no duplicate _id.

Could it be that there is some cache or index that keeps them and make the database throw the error?

There aren't other unique indexes apart of _id.

If I import the documents in another collection it works fine.