Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behaviour of mongoimport: it imports less documents than expected #1235

Open
bitliner opened this issue Oct 2, 2015 · 0 comments
Open

Comments

@bitliner
Copy link

bitliner commented Oct 2, 2015

I am running end to end test on a web app.

So before each test I make tokumx empty and then I load some collections with mongoimport.

I launch multiple mongoimport commands in parallel.

The result is that it imports only 600 documents insteaf of 800 documents as expected.

then if I make the that collection empty, and I run again manually - after the test - mongoimport command only on that collection again, still it imports 600 documents instead of 800 documents.

To make it work well, I have to run db.dropDatabase() or db.collectionName.drop(), so if I run again mongoimport now it works normally importing the whole set of 800 documents instead of only 600.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant