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

Improve AutoStatsTracker usage in distinct and find commands

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: