Skip to content

Problem with $in and $or filters #220

Description

@actopolus

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions