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

Deadlock between HRegion.ICV and HRegion.close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.90.0
    • None
    • None
    • Reviewed

    Description

      HRegion.ICV gets a row lock then gets a newScanner lock.

      HRegion.close gets a newScanner lock, slitCloseLock and finally waits for all row locks to finish.

      If the ICV got the row lock and then close got the newScannerLock, both end up waiting on the other. This was introduced when Get became a Scan.

      Stack thinks we can get rid of the newScannerLock in close since we setClosing to true.

      Attachments

        1. HBASE-2915-v4.patch
          24 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: