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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • Server Serverless 2021-10-25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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);
      

            Assignee:
            Sophia Tan (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: