histogramCE: Replace tasserts with uasserts

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The use of tasserts in the histogram code causes the log to be flooded with stack traces for the following expected errors:

      encountered interval which is unestimatable
      direct estimation of $elemMatch is currently only supported for heuristicCE
      

      Those need to be converted to uasserts. Otherwise if any such query is issued during the test, resmoke.py detects assertion-related strings in the mongod log and fails the entire test in a way that can not be worked around.

            Assignee:
            Philip Stoev
            Reporter:
            Philip Stoev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: