Structsยง
- Datanode
Heartbeat ๐ DatanodeHeartbeat
represents the heartbeat signal sent from a datanode. It includes identifiers for the cluster and datanode, a list of regions being monitored, and a timestamp indicating when the heartbeat was sent.- Heartbeat
Acceptor ๐ HeartbeatAcceptor
forwards heartbeats toRegionSupervisor
.- Region
Failure Detector Control - Controller for managing failure detectors for regions.
- Region
Supervisor - The
RegionSupervisor
is used to detect Region failures and initiate Region failover upon detection, ensuring uninterrupted region service. - Region
Supervisor Ticker - A background job to generate
Event::Tick
type events.
Enumsยง
- Event ๐
Event
represents various types of events that can be processed by the region supervisor. These events are crucial for managing state transitions and handling specific scenarios in the region lifecycle.- Region
Supervisor Selector - Selector for region supervisor.
Constantsยง
- DEFAULT_
TICK_ INTERVAL - The default tick interval.