StructsΒ§
- Election
Leader πStep Down - Heartbeat
Session π - Tonic
Heartbeat πRequest Stream
EnumsΒ§
- Leader
Step πDown Event
ConstantsΒ§
- MAX_
NODE_ πEPOCH_ AHEAD - How far ahead of the leaderβs clock a datanode epoch can be recorded.
TraitsΒ§
- Heartbeat
Request πStream - Leader
Step πDown
FunctionsΒ§
- accept_
node_ πepoch - Returns whether
node_epochis not lower than the highest epoch recorded for the datanode, raising the record when it is higher. An epoch too far ahead of this metasrvβs clock is refused, since recording it would fence every later process. - get_
node_ πid - handle_
ask_ πleader - handle_
request_ πstream_ error - Handles request stream error by logging and forwarding the error to the client if possible.
- header_
only π - wait_
leader_ πstep_ down