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

Better naming for CanonicalQuery::isCount

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • Query Execution
    • Fully Compatible

    Description

      TheĀ CanonicalQuery::isCount flag is a somewhat inaccurate name, as it applies to a set of queries that is a superset of true count queries. We should consider naming it something more clear, e.g. needsSourceDocs (or the negated version to reduce code changes). Once we do this, terminology in comments and tests will need to be updated.

      Attachments

        Activity

          People

            irina.yatsenko@mongodb.com Irina Yatsenko
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: