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.84k stars 862 forks source link

fix mock fsm on_leader_stop signature #450

Open ehds opened 3 months ago

ehds commented 3 months ago

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