Skip to content

Commit

Permalink
1. cmd_result::get_result_str add SERVER_IS_LEAVING (eBay#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
byronhe committed Apr 25, 2024
1 parent 17cdd1f commit 1bd1e72
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 1bd1e72

Please sign in to comment.