Skip to content

Commit

Permalink
1. cmd_result::get_result_str add SERVER_IS_LEAVING (#505) (#506)
Browse files Browse the repository at this point in the history
Co-authored-by: byronhe <[email protected]>
  • Loading branch information
byronhe and byronhe authored May 6, 2024
1 parent 83a847b commit 3a64f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/libnuraft/async.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ public:
"Cannot find server."},
{cmd_result_code::CANNOT_REMOVE_LEADER,
"Cannot remove leader."},
{cmd_result_code::SERVER_IS_LEAVING,
"Server is leaving."},
{cmd_result_code::TERM_MISMATCH,
"The current term does not match the expected term."},
{cmd_result_code::RESULT_NOT_EXIST_YET,
Expand Down

0 comments on commit 3a64f74

Please sign in to comment.