Fix FTDC capture of config.{transactions, image_collection} collStats on secondary nodes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-31
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-78724, secondary nodes are failing to collect the $collStats metrics for config.{transactions, image_collection} because the aggregation command is now enforcing the ReadPreference stated by the operation. Because the opCtx used by FTDC uses the default ReadPreference, which is PrimaryOnly, secondary nodes are failing to run that aggregation locally.

            Assignee:
            Jordi Serra Torrens
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: