Skip to main content

Module heartbeat

Module heartbeat 

Source

Modulesยง

handler ๐Ÿ”’
task_tracker ๐Ÿ”’

Structsยง

HeartbeatTask
The datanode heartbeat task which sending [HeartbeatRequest] to Metasrv periodically in background.

Functionsยง

node_epoch_above_record ๐Ÿ”’
Returns the epoch of this process: its start time, or one more than the epoch the metasrv has recorded for the node when the record is not lower than the start time, as after a restart on a slower clock or after the clock stepped back. The metasrv fences an epoch lower than the recorded one.