Replace calls of HelloMetrics::resetNumAwaitingTopologyChanges

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Xuerui Fa
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: