Get rid of ReplicaSetMonitor::get()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As the ReplicaSetMonitor is behaving like cache, it is not guaranteed that the ReplicaSetMonitor::get() returns an existing instance, which could be garbage collected. We need to always create a new instance in the cache when there is none.

      See https://jira.mongodb.org/browse/SERVER-51440 for details.

              Assignee:
              Andrew Shuvalov (Inactive)
              Reporter:
              Andrew Shuvalov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: