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

Replace calls of HelloMetrics::resetNumAwaitingTopologyChanges

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • v8.0
    • 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:
              Resolved: