szetszwo commented on code in PR #689:
URL: https://github.com/apache/ratis/pull/689#discussion_r927026288
##########
ratis-server-api/src/main/java/org/apache/ratis/statemachine/StateMachine.java:
##########
@@ -190,8 +190,12 @@ default void notifyLogFailed(Throwable cause,
LogEntryProto failedEntry) {}
/**
* Notify the {@link StateMachine} that the progress of install snapshot is
* completely done. Could trigger the cleanup of snapshots.
+ *
+ * @param result {@link InstallSnapshotResult}
+ * @param snapshotIndex the index of installed snapshot
+ * @param peer the peer who installed the snapshot
*/
- default void notifySnapshotInstalled(InstallSnapshotResult result, long
snapshotIndex) {}
Review Comment:
@adoroszlai , you are right that notifySnapshotInstalled is not in any
releases. Then, we can change it directly.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]