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.99k stars 886 forks source link

fix mock fsm on_leader_stop signature #450

Open ehds opened 7 months ago

ehds commented 7 months ago

on_leader_stop(const braft::LeaderChangeContext&) shuold be on_leader_stop(const butil::Status&)