szetszwo commented on PR #1006:
URL: https://github.com/apache/ratis/pull/1006#issuecomment-1886233950

   > The test passed locally so I suppose it's unrelated. ...
   
   Yes, it is not related to this change.
   
   It looks like that the `RaftServerImpl.close()` method was called  in the of 
`LeaderStateImpl.stepDown(..)`.  Synchronize the `close()` method should be 
able to fix it.
   
   ```java
   Caused by: java.lang.NullPointerException: leaderState == null
        at 
org.apache.ratis.server.impl.RoleInfo.shutdownLeaderState(RoleInfo.java:90)
        at 
org.apache.ratis.server.impl.RaftServerImpl.changeToFollower(RaftServerImpl.java:579)
        ...
   ```


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

Reply via email to