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

histogramCE: Unhelpful error "All QSNs must have a CE" on $match + $sort in the absence of histograms

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If there are no histograms:

      Enterprise test> db.foo.aggregate([ { "$sort" : { a : -1 }}, { "$match" : { b: 123  }} ]).explain();
      MongoServerError[Location9695100]: All QSNs must have a CE.
      

      Instead, the error should have been no histogram found for path to allow the user to take action to recover.

            Assignee:
            Unassigned Unassigned
            Reporter:
            philip.stoev@mongodb.com Philip Stoev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: