HistogramCE trigger IndexBoundsBuilder assert for inversion of non-exact bounds

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      db.adminCommand({setParameter: 1, planRankerMode: "histogramCE"})
      db.c.insert({a: 1})
      db.c.createIndex({a: 1})
      db.runCommand({analyze: "c", key: "a"})
      db.c.find({a: {$nin: [/o/]}})
      
      MongoServerError: Cannot invert inexact bounds

      In general, we may need a more robust strategy to identify predicate which may fail to generate index bounds inside of CBR.

              Assignee:
              Unassigned
              Reporter:
              Ben Shteinfeld
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: