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

Replace calls of HelloMetrics::resetNumAwaitingTopologyChanges

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Replication
    • ALL
    • Repl 2024-02-19, Repl 2024-03-04, Repl 2024-03-18, Repl 2024-04-01, Repl 2024-05-13

      It seems we recently made a change to track hello metrics on a per-transport layer level, instead of overall in the service context. We also recently added a utility function to reset hello metrics on all transport layers (resetNumAwaitingTopologyChangesForAllSessionManagers). However, throughout the code base we currently still call resetNumAwaitingTopologyChanges instead of the new function, which is leading to some incorrect metrics. We should made resetNumAwaitingTopologyChanges a private function and instead call resetNumAwaitingTopologyChangesForAllSessionManagers wherever applicable.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: