[
https://issues.apache.org/jira/browse/HBASE-10000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830889#comment-13830889
]
Ted Yu commented on HBASE-10000:
--------------------------------
bq. Why do reflection every time this method is called?
This is due to the change where the first call to recoverLease() gets moved to
SplitLogManager#splitLogDistributed().
In order not to abandon the on-going lease recovery for the WAL when
FSHDFSUtils#recoverDFSFileLease() is called, isFileClosed() is used.
> Initiate lease recovery for outstanding WAL files at the very beginning of
> recovery
> -----------------------------------------------------------------------------------
>
> Key: HBASE-10000
> URL: https://issues.apache.org/jira/browse/HBASE-10000
> Project: HBase
> Issue Type: Improvement
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.98.0
>
> Attachments: 10000-v1.txt, 10000-v4.txt, 10000-v5.txt
>
>
> At the beginning of recovery, master can send lease recovery requests
> concurrently for outstanding WAL files using a thread pool.
> Each split worker would first check whether the WAL file it processes is
> closed.
> Thanks to Nicolas Liochon and Jeffery discussion with whom gave rise to this
> idea.
--
This message was sent by Atlassian JIRA
(v6.1#6144)