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

Remove non-public functions from topology_change_helpers.h

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-02-17, CAR Team 2025-03-03

      The following functions are only used in the topology_change_helpers.cpp:

      • deleteAllDocumentsInCollection
      • greetReplicaSet
      • createFetcher
      • removeAllClusterParametersFromReplicaSet

      we should remove them from the .h file, and make sure all local functions are in an anonymous namespace in the cpp file.

      Note: please check the functions thoroughly, as there might be other ones that worth moving

            Assignee:
            annamaria.nestorov@mongodb.com Anna Maria Nestorov
            Reporter:
            adam.farkas@mongodb.com Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: