RkGrit opened a new pull request, #1245:
URL: https://github.com/apache/ratis/pull/1245

   ## What changes were proposed in this pull request?
   
   After a leader loses leadership due to heartbeat timeout with a majority of 
followers, it forcibly interrupts the GrpcLogAppender thread.
   This abrupt termination leads to two critical exceptions during log file 
reads:
   1. ClosedByInterruptException when initializing SegmentedRaftLogInputStream.
   2. A cascading NullPointerException in LogSegment.loadCache() due to 
incomplete log loading.
   
   ## What is the link to the Apache JIRA
   
   
https://issues.apache.org/jira/browse/RATIS-2271?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
   
   ## How was this patch tested?
   
   unit tests


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