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

Verify whether StreamableReplicaSetMonitor::getHostsOrRefresh should wait for the refresh

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC
    • Sharding NYC 2023-05-29, Sharding NYC 2023-06-12, Sharding NYC 2023-06-26, Sharding NYC 2023-07-10
    • 26
    • 2

      It looks like StreamableReplicaSetMonitor::getHostsOrRefresh doesn't actually wait for refresh to update the latest topology before trying to get hosts after requesting an async refresh

      It's not clear whether this was intentional or maybe I misread the code.

      The purpose of this ticket is to investigate if we want to keep this async or not by looking at the usages of StreamableReplicaSetMonitor::getHostsOrRefresh. 

            Assignee:
            sanika.phanse@mongodb.com Sanika Phanse (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: