[ 
https://issues.apache.org/jira/browse/RATIS-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Song Ziyang resolved RATIS-1596.
--------------------------------
    Resolution: Not A Problem

> Sync PurgeLog will block WriteLog
> ---------------------------------
>
>                 Key: RATIS-1596
>                 URL: https://issues.apache.org/jira/browse/RATIS-1596
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Song Ziyang
>            Priority: Major
>
> Currently, all RaftLog IO Tasks will be handed to SegmentRaftLogWorker, 
> including WriteLog & PurgeLog. Since SegmentRaftLogWorker is a single thread, 
> a time consuming PurgeLog will block the subsequent WriteLog tasks, leading 
> to follower unable to commit log and respond to leader's AppendEntry RPC.
> PurgeLog itself will not affect other IO tasks, is it possible and it can be 
> done asynchronously by another thread?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to