baidu / braft

An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.
Apache License 2.0
3.95k stars 881 forks source link

renew follower lease after voting #406

Open ehds opened 1 year ago

ehds commented 1 year ago

related issue: https://github.com/baidu/braft/issues/405

Server remains in follower state as long as it receives valid RPCs from a leader or candidate.