MongoDB queries don’t always return all matching documents!
David Glasser

Here is how you can easily reproduce the issue on MongoDB. I used about 300K document to force the issue to reproduce quite consistently.

This article also contains the comparison of the same test on Couchbase and I work for Couchbase.

Like what you read? Give Keshav Murthy a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.