[ 
https://issues.apache.org/jira/browse/HBASE-21235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630120#comment-16630120
 ] 

Duo Zhang commented on HBASE-21235:
-----------------------------------

It is not easy as I expected... We have a ProcedureWALFile and the file name is 
stored in this class, and we will use this class to archive the old log files. 
So when renaming we also need to change the file name in this class and it may 
introduce races...

Maybe a once for all solution is to just get rid of the current wal based 
procedure store. Just use a HRegion...

Will be back later... 

> Rename the closed procedure wal files so that we do not need to call 
> recoverLease when restarting
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21235
>                 URL: https://issues.apache.org/jira/browse/HBASE-21235
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Performance, proc-v2
>            Reporter: Duo Zhang
>            Priority: Major
>
> If there are lots of procedure wal files the recover lease will be a time 
> consuming operation. Renaming is a possible way to confirm that some files 
> are already closed when restarting so we do not need to call recoverLease on 
> them any more.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to