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:
[email protected]