You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/11/03 14:04:28 UTC

[GitHub] [incubator-ratis] hanishakoneru opened a new pull request #251: RATIS-1109. Notify StateMachine on Configuration change

hanishakoneru opened a new pull request #251:
URL: https://github.com/apache/incubator-ratis/pull/251


   ## What changes were proposed in this pull request?
   
   When Ratis receives a Configuration change request (SetConfiguration), the StateMachine is only notified of index update.
   
   CompletableFuture<Message> applyLogToStateMachine(LogEntryProto next) {
     if (!next.hasStateMachineLogEntry()) {
       stateMachine.notifyIndexUpdate(next.getTerm(), next.getIndex());
     } else if (next.hasStateMachineLogEntry()) {
     ......
   This Jira aims to add a method in StateMachine interface to notify StateMachine about configuration change.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1109
   
   ## How was this patch tested?
   
   No unit test. Tested on Ozone cluster.


----------------------------------------------------------------
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.

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



[GitHub] [incubator-ratis] szetszwo merged pull request #251: RATIS-1109. Notify StateMachine on Configuration change

Posted by GitBox <gi...@apache.org>.
szetszwo merged pull request #251:
URL: https://github.com/apache/incubator-ratis/pull/251


   


----------------------------------------------------------------
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.

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