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

Problem with $in and $or filters #220

Open
actopolus opened this issue Nov 3, 2019 · 0 comments
Open

Problem with $in and $or filters #220

actopolus opened this issue Nov 3, 2019 · 0 comments

Comments

@actopolus
Copy link

How to reproduce?

  1. Add 100K docs to collection
  2. Query docs by _id with $in or $or and put 100 idents to expression like this:
    db.collection.find({"_id": {"$in": ["id1", ..., "id100"]})

Expected: 100 docs are returned
Result: unpredictable result, sometime 60 docs, sometime 80, and etc...

@actopolus actopolus changed the title Problem with $in and $or filters Problem with $in and $or filters #bug Nov 25, 2019
@actopolus actopolus changed the title Problem with $in and $or filters #bug Problem with $in and $or filters Nov 25, 2019
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