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

heuristicCE: [Location9586708]: MONGO_UNIMPLEMENTED_TASSERT! with a N-ary $nor

    • 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
      db.foo.drop();
      
      let docs = [];
      for (let i = 0; i < 50; i++) {
          docs.push({a: i});
      }
      
      db.foo.insertMany(docs);
      db.foo.runCommand({analyze: "foo", key: "a"});
      db.foo.runCommand({analyze: "foo", key: "b"});
      db.adminCommand({setParameter: 1, planRankerMode: "histogramCE"});
      db.foo.aggregate([ { "$match" : { "$nor" : [ { "a" : 'Movies' }, { "b" : 'c' }  ] } }]).explain();
      
      Show
      db.foo.drop(); let docs = []; for (let i = 0; i < 50; i++) { docs.push({a: i}); } db.foo.insertMany(docs); db.foo.runCommand({analyze: "foo" , key: "a" }); db.foo.runCommand({analyze: "foo" , key: "b" }); db.adminCommand({setParameter: 1, planRankerMode: "histogramCE" }); db.foo.aggregate([ { "$match" : { "$nor" : [ { "a" : 'Movies' }, { "b" : 'c' } ] } }]).explain();
    • QO 2025-01-20

      Enterprise test> db.foo.aggregate([ { "$match" : { "$nor" : [ { "a" : 'Movies' }, { x : "y" }  ] } }]).explain();
      MongoServerError[Location9586708]: Hit a MONGO_UNIMPLEMENTED_TASSERT!
      

            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: