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

Better naming for CanonicalQuery::isCount

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: