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

Make comment on ReplicaSetMonitor::get match how the function works

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • Sharding
    • Fully Compatible
    • Server Serverless 2021-10-25

    Description

      The function comment discusses behavior based on a parameter 'createFromSeed' that no longer exists.

          /**
           * gets a cached Monitor per name. If the monitor is not found and createFromSeed is false,
           * it will return none. If createFromSeed is true, it will try to look up the last known
           * servers list for this set and will create a new monitor using that as the seed list.
           */
          static std::shared_ptr<ReplicaSetMonitor> get(const std::string& name);
      

      Attachments

        Activity

          People

            sophia.tan@mongodb.com Sophia Tan
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: