$all/$in/$nin queries with empty operands in ExactCE hit unreachable

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Blocker - P1
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To reproduce:
      1. Turn on a mongod instance in exactCE mode.
      2. Have a populated collection. Let's call it a.
      3. in mongosh, run `db.a.find({'a': {'$in': []}}).

      You will hit MONGO_UNREACHABLE_TASSERT(10659800)

            Assignee:
            Andi Wang
            Reporter:
            Andi Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: