[ https://issues.apache.org/jira/browse/RATIS-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021370#comment-17021370 ]
Siddharth Wagle commented on RATIS-795: --------------------------------------- Hi [~shashikant], thanks for the review, I ran all the failing tests and all except TestMetaServer passed. {code} [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.ratis.grpc.TestRaftAsyncWithGrpc [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.713 s - in org.apache.ratis.grpc.TestRaftAsyncWithGrpc [INFO] Running org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.147 s - in org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc [INFO] Running org.apache.ratis.grpc.TestRaftSnapshotWithGrpc [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.827 s - in org.apache.ratis.grpc.TestRaftSnapshotWithGrpc [INFO] Running org.apache.ratis.grpc.TestRaftWithGrpc [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.13 s - in org.apache.ratis.grpc.TestRaftWithGrpc [INFO] Running org.apache.ratis.server.raftlog.TestRaftLogMetrics [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.924 s - in org.apache.ratis.server.raftlog.TestRaftLogMetrics [INFO] Running org.apache.ratis.server.simulation.TestRaftWithSimulatedRpc [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.635 s - in org.apache.ratis.server.simulation.TestRaftWithSimulatedRpc [INFO] Running org.apache.ratis.server.simulation.TestRaftStateMachineExceptionWithSimulatedRpc [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.301 s - in org.apache.ratis.server.simulation.TestRaftStateMachineExceptionWithSimulatedRpc [INFO] Running org.apache.ratis.server.simulation.TestRaftSnapshotWithSimulatedRpc [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.628 s - in org.apache.ratis.server.simulation.TestRaftSnapshotWithSimulatedRpc [INFO] Running org.apache.ratis.server.simulation.TestServerRestartWithSimulatedRpc [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.325 s - in org.apache.ratis.server.simulation.TestServerRestartWithSimulatedRpc [INFO] Running org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.201 s - in org.apache.ratis.server.simulation.TestLeaderElectionWithSimulatedRpc [INFO] Running org.apache.ratis.netty.TestRaftSnapshotWithNetty [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.105 s - in org.apache.ratis.netty.TestRaftSnapshotWithNetty [INFO] Running org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.016 s - in org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty [INFO] [INFO] Results: [INFO] [INFO] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0 {code} > Read SateMachine data failure should result in log fail notification > -------------------------------------------------------------------- > > Key: RATIS-795 > URL: https://issues.apache.org/jira/browse/RATIS-795 > Project: Ratis > Issue Type: Bug > Components: server > Affects Versions: 0.4.0 > Reporter: Siddharth Wagle > Assignee: Siddharth Wagle > Priority: Major > Fix For: 0.5.0 > > Attachments: RATIS-795.01.patch > > > Presently an exception thrown during read state machine data causes a > RaftLogException to be thrown but we do not notify the state machine. > Downstream in Ozone the state machine is marked unhealthy and there is no way > for the follower to recover. -- This message was sent by Atlassian Jira (v8.3.4#803005)