You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2022/02/25 14:20:47 UTC

[GitHub] [ratis] SincereXIA commented on pull request #611: RATIS-1534. SegmentedRaftLogWorker support async flush

SincereXIA commented on pull request #611:
URL: https://github.com/apache/ratis/pull/611#issuecomment-1050893287


   Hi, @szetszwo,  Really appreciate your suggestion. my code looks much cleaner, thank you!
   
   In addition to what you suggested, I added a line of code to the run loop to check if flush is required, which ensures that the previous logEntry can be flush in time when there are no subsequent tasks. Do you think this is ok?


-- 
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: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org