Make includeQueryStatsMetricsForOpIndex behave as for read path

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is a flag on the read path commands called includeQueryStatsMetrics that is set from mongos, that tells the mongods to append metrics so that mongos and collect and record query stats. We typically only expect this flag to be set internally.

      The corresponding flag on the write path for updates is includeQueryStatsMetricsForOpIndex.

      On the read path, we might let it through, or it might return an error, I'm not sure which. We should look at what the read path does regarding this flag and do the same thing. It is nice to be able to set this flag for testing the mongods directly, if it's possible to continue to allow that, it would be a nice-to-have.

            Assignee:
            Unassigned
            Reporter:
            Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: