Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder interface { NotifyGossipJoin(id uint64) NotifyGossipLeave(id uint64) NotifyRaftConfChange(cluster string, cc raftpb.ConfChangeI) ListDeadNodes(time.Duration) []uint64 RaftMemberCount(cluster string) int }
Recorder records membership changes from an external pool, and compares it to raft members to detect node failures.
func NewRecorder ¶
NewRecorder returns a new recorder.
Click to show internal directories.
Click to hide internal directories.