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

Improve AutoStatsTracker usage in distinct and find commands

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Execution EMEA Team 2023-09-04, Execution EMEA Team 2023-09-18, Execution EMEA Team 2023-10-02, Execution EMEA Team 2023-10-16, CAR Team 2023-11-13, CAR Team 2023-11-27

      With the move towards using acquisitions we discovered that a lot of our current testing infrastructure relies on entries being present in the profiling collection. Previously the necessary setup was performed within the AutoGetCollectionForReadCommand family of classes.

      With the move towards shard role acquisitions, we had to resort to manually setting it up in the commands, resulting in very large chunks of code that are replicated on other integrations.

      This ticket is about finding a better way to encapsulate this pattern.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: