[
https://issues.apache.org/jira/browse/HBASE-13013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319448#comment-14319448
]
Jingcheng Du commented on HBASE-13013:
--------------------------------------
Thanks [~anoopsamjohn].
Do we have specific purpose for that? I checked the code where to use the
lock.acquire, most of them (not the test code) catch the IOException and
log.error. Please advise. Thanks a lot.
> Add read lock to ExpiredMobFileCleanerChore
> -------------------------------------------
>
> Key: HBASE-13013
> URL: https://issues.apache.org/jira/browse/HBASE-13013
> Project: HBase
> Issue Type: Sub-task
> Components: master
> Reporter: Jingcheng Du
> Assignee: Jingcheng Du
> Fix For: hbase-11339
>
> Attachments: HBASE-13013.diff
>
>
> Now we have two chores for mob, one is the cleaner of expired mob files, the
> other is for the mob file compactor. They might handle the same file set
> concurrently, and might impact each other when doing that. We need to
> synchronize them, now we have a write lock for the mob file compaction chore,
> we need to add a read lock for the chore of expired mob file cleaner.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)