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

Get rid of ReplicaSetMonitor::get()

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: