Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28047

Deadlock when opening mob files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-4, 2.5.5
    • 2.6.0, 2.4.18, 2.5.6, 3.0.0-beta-1
    • mob
    • None

    Description

      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

      Attachments

        1. mobdeadlock.js
          474 kB
          Xiaolin Ha

        Issue Links

          Activity

            People

              Xiaolin Ha Xiaolin Ha
              Xiaolin Ha Xiaolin Ha
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: