[SERVER-45521] Define TopologyListener, ServerPingMonitor, and SingleServerPingMonitor classes. Created: 13/Jan/20  Updated: 29/Oct/23  Resolved: 16/Jan/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.3

Type: Task Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-45051 Implement class that collects RTT inf... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2020-01-27
Participants:

 Description   

Goal: Create the bare infrastructure for the classes responsible for monitoring a group of servers Round Trip Times. 

(1) Define the interface for the TopologyListener, a class that gets notified when a server's new RTT(Round Trip Time) is published.

(2) Introduce a ServerPingMonitor that manages which servers to monitor. Implement the functionality to remove and add servers to monitor. 

(3) Define the skeleton of the SingleServerPingMonitor class which is responsible for monitoring a single server and measuring its RTT values at uniform time intervals. 

The actual functionality for the SingleServerPingMonitor will be implemented and tested in SERVER-45051.



 Comments   
Comment by Githook User [ 16/Jan/20 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com'}

Message: SERVER-45521 Define TopologyListener, ServerPingMonitor, and SingleServerPingMonitor classes.

create mode 100644 src/mongo/client/sdam/topology_listener.h
create mode 100644 src/mongo/client/server_ping_monitor.cpp
create mode 100644 src/mongo/client/server_ping_monitor.h
Branch: master
https://github.com/mongodb/mongo/commit/249c30420f79c6ad867ef3a97483832a30834400

Generated at Thu Feb 08 05:09:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.