File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -65,20 +65,6 @@ func (rn *RawNode) Tick() {
65
65
rn .raft .tick ()
66
66
}
67
67
68
- // TickQuiesced advances the internal logical clock by a single tick without
69
- // performing any other state machine processing. It allows the caller to avoid
70
- // periodic heartbeats and elections when all of the peers in a Raft group are
71
- // known to be at the same state. Expected usage is to periodically invoke Tick
72
- // or TickQuiesced depending on whether the group is "active" or "quiesced".
73
- //
74
- // WARNING: Be very careful about using this method as it subverts the Raft
75
- // state machine. You should probably be using Tick instead.
76
- //
77
- // DEPRECATED: This method will be removed in a future release.
78
- func (rn * RawNode ) TickQuiesced () {
79
- rn .raft .electionElapsed ++
80
- }
81
-
82
68
// Campaign causes this RawNode to transition to candidate state.
83
69
func (rn * RawNode ) Campaign () error {
84
70
return rn .raft .Step (pb.Message {
You can’t perform that action at this time.
0 commit comments