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

chenglei updated HBASE-27358:
-----------------------------
    Description: {{AsyncFSWAL}} uses {{consumeLock}} to synchronize operations 
between {{AsyncFSWAL.consumeExecutor}} and 
{{AsyncFSWAL.doReplaceWriter}}/{{AsyncFSWAL.doShutdown}}. If we try to make 
{{AsyncFSWAL.consumeExecutor}} to roll WAL at the safe point by itself, and 
{{AsyncFSWAL.doReplaceWriter}} just publishs the roll wal task and waits for 
the roll operation to complete, then we could avoid the synchronize operations 
in {{AsyncFSWAL}}.

> Avoid synchronization in AsyncFSWAL
> -----------------------------------
>
>                 Key: HBASE-27358
>                 URL: https://issues.apache.org/jira/browse/HBASE-27358
>             Project: HBase
>          Issue Type: Improvement
>          Components: wal
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: chenglei
>            Priority: Major
>
> {{AsyncFSWAL}} uses {{consumeLock}} to synchronize operations between 
> {{AsyncFSWAL.consumeExecutor}} and 
> {{AsyncFSWAL.doReplaceWriter}}/{{AsyncFSWAL.doShutdown}}. If we try to make 
> {{AsyncFSWAL.consumeExecutor}} to roll WAL at the safe point by itself, and 
> {{AsyncFSWAL.doReplaceWriter}} just publishs the roll wal task and waits for 
> the roll operation to complete, then we could avoid the synchronize 
> operations in {{AsyncFSWAL}}.



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

Reply via email to