Verify $indexStats works for queries that are eligible for cqf

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $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:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: