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

qsutils.assertQueryShapeConfiguration(expected) jstests function doesn't assert query shape configuration

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Declined
    • Icon: Major - P3 Major - P3
    • None
    • 7.3.0-rc0
    • None
    • ALL
    • QE 2023-12-25

    Description

      Instead it checks every expected configuration against `explain` for every expected representativeQuery.

      That means it doesn't check what is not part of `expected`. If expected is an empty list it won't assert anything. 

      I'd expect that function to fetch all query settings and compare every expected setting against every setting from cluster settings.

      Attachments

        Activity

          People

            romans.kasperovics@mongodb.com Romans Kasperovics
            serhii.lysenko@mongodb.com Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: