avijayanhwx opened a new pull request #217:
URL: https://github.com/apache/incubator-ratis/pull/217


   ## What changes were proposed in this pull request?
   While closing an open log segment using the 
SegmentedRaftLogWorker#closeLogSegment method, the corresponding cache segment 
also needs to be rolled (close and open a new empty one). Else, the cache will 
go out of sync with the on disk log segment state.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/RATIS-1049
   
   ## How was this patch tested?
   Manually tested.
   Unit tests pending.


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


Reply via email to