Skip to content

Commit

Permalink
Merge pull request #62 from erikgrinaker/remove-tick-quiesced
Browse files Browse the repository at this point in the history
deprecate `RawNode.TickQuiesced()`
  • Loading branch information
spzala authored May 31, 2023
2 parents c590fcd + d6c1d64 commit e293cfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rawnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func (rn *RawNode) Tick() {
//
// WARNING: Be very careful about using this method as it subverts the Raft
// state machine. You should probably be using Tick instead.
//
// DEPRECATED: This method will be removed in a future release.
func (rn *RawNode) TickQuiesced() {
rn.raft.electionElapsed++
}
Expand Down

0 comments on commit e293cfa

Please sign in to comment.