Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99023

CE: Location9586709 MONGO_UNIMPLEMENTED_TASSERT with an empty $in, $all list

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • Hide
      Enterprise test> db.foo.drop();
      true
      Enterprise test> db.foo.createIndex({a: 1});
      a_1
      Enterprise test> db.adminCommand({setParameter: 1, planRankerMode: "histogramCE"});
      { was: 'histogramCE', ok: 1 }
      Enterprise test> db.foo.find({a: {$in: []}});
      MongoServerError[Location9586709]: Hit a MONGO_UNIMPLEMENTED_TASSERT!
      Enterprise test> db.foo.find({a: {$all: []}});
      MongoServerError[Location9586709]: Hit a MONGO_UNIMPLEMENTED_TASSERT!
      
      Show
      Enterprise test> db.foo.drop(); true Enterprise test> db.foo.createIndex({a: 1}); a_1 Enterprise test> db.adminCommand({setParameter: 1, planRankerMode: "histogramCE" }); { was: 'histogramCE' , ok: 1 } Enterprise test> db.foo.find({a: {$in: []}}); MongoServerError[Location9586709]: Hit a MONGO_UNIMPLEMENTED_TASSERT! Enterprise test> db.foo.find({a: {$all: []}}); MongoServerError[Location9586709]: Hit a MONGO_UNIMPLEMENTED_TASSERT!
    • QO 2025-01-20

      Empty $in lists can not be estimated with heuristicCE or histogramCE

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            philip.stoev@mongodb.com Philip Stoev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: