[
https://issues.apache.org/jira/browse/HBASE-28047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-28047.
-------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
> Deadlock when opening mob files
> -------------------------------
>
> Key: HBASE-28047
> URL: https://issues.apache.org/jira/browse/HBASE-28047
> Project: HBase
> Issue Type: Bug
> Components: mob
> Affects Versions: 3.0.0-alpha-4, 2.5.5
> Reporter: Xiaolin Ha
> Assignee: Xiaolin Ha
> Priority: Major
> Fix For: 3.0.0-beta-1, 2.5.6, 2.4.18, 2.6.0
>
> Attachments: mobdeadlock.js
>
>
> The hashcode of mob file name is used in MobFileCache to lock the cached mob
> files, but hashcode may be repeated and the IdLock is not reentrant. Then
> when opening a not cached file with evicting the opened by LRU, the repeated
> hashcode files will bring deadlock.
> [^mobdeadlock.js]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)