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

Verify $indexStats works for queries that are eligible for cqf

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization

      $indexStats tells you how many times each index was used in a query. We need to make sure queries generated by Bonsai are included in these counts. (We don't need to support the $indexStats operator itself.)

      This may be working already; I'm not sure. With CQF enabled this assertion fails, but that could be because Bonsai is choosing a different plan which doesn't use the expected index.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: