You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2023/08/28 04:29:00 UTC

[jira] [Created] (HBASE-28047) Deadlock when opening mob files

Xiaolin Ha created HBASE-28047:
----------------------------------

             Summary: 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: 2.5.5, 3.0.0-alpha-4
            Reporter: Xiaolin Ha
         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)