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

histogramCE: All parts of the index require a histogram, even if not used

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • ALL
    • Hide

      See body of ticket.

      Show
      See body of ticket.
    • QO 2025-01-20, QO 2025-02-03
    • 200

      Enterprise test> db.foo.createIndex({a:1, b:1});
      a_1_b_1
      # We query on a, get an error on b
      Enterprise test> db.foo.find({"a":99999999})
      MongoServerError[HistogramCEFailure]: no histogram found for path: b 

      In this case, we are not querying on b and yet a histogram is required.

            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: