You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2022/02/16 13:03:06 UTC

[GitHub] [ratis] codings-dan commented on a change in pull request #602: RATIS-1525. Add step down leader proto and client related code

codings-dan commented on a change in pull request #602:
URL: https://github.com/apache/ratis/pull/602#discussion_r807934927



##########
File path: ratis-client/src/main/java/org/apache/ratis/client/api/AdminApi.java
##########
@@ -40,4 +40,7 @@ default RaftClientReply setConfiguration(RaftPeer[] serversInNewConf) throws IOE
 
   /** Transfer leadership to the given server.*/
   RaftClientReply transferLeadership(RaftPeerId newLeader, long timeoutMs) throws IOException;
+
+  /** Step down the leader.*/
+  RaftClientReply stepDownLeader(RaftPeerId newLeader, long timeoutMs) throws IOException;

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org