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

Add stats tracking for multiple collections

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2022-02-07, QE 2022-01-24

      Add a new stats tracker class AutoStatsTrackerMulti that could possibly extend AutoStatsTracker (alternatively this could be a standalone class).

      It should take a 'special' leftmost namespace and an array of other namespaces for the secondary collection namespaces. It should make:

      • Updates CurOp for the leftmost collection
      • Updates top (via record()) for each involved namespace. This means that the same latency will be attributed to multiple collections, so it can be counted multiple times.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: