swagle commented on a change in pull request #846: HDDS-1555. Disable install
snapshot for ContainerStateMachine.
URL: https://github.com/apache/hadoop/pull/846#discussion_r287061991
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
##########
@@ -597,4 +603,12 @@ void handleNodeSlowness(RaftGroup group, RoleInfoProto
roleInfoProto) {
void handleNoLeader(RaftGroup group, RoleInfoProto roleInfoProto) {
handlePipelineFailure(group.getGroupId(), roleInfoProto);
}
+
+ void handleInstallSnapshotFromLeader(RaftGroup group,
+ RoleInfoProto roleInfoProto, TermIndex firstTermIndexInLog) {
+ LOG.warn("Install snapshot notification received from Leader with " +
+ "termIndex : " + firstTermIndexInLog +
+ ", terminating pipeline " + group.getGroupId());
+ handlePipelineFailure(group.getGroupId(), roleInfoProto);
Review comment:
Yes sorry, let me add to the description.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]