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

Minor fixes in row lock implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 1.3.2, 2.0.0, 1.2.7
    • None
    • None
    • Reviewed

    Description

      In reviewing the HRegion.getRowLockInternal() implementation, I noticed a couple of possible issues that I wanted to pass along:

      • make sure rowLockContext.cleanUp() always called if row lock could not be acquired
      • do not attempt to remove unusable row lock from map multiple times.

      I'll post a patch for consideration.

      Attachments

        1. HBASE-18487.patch
          3 kB
          James R. Taylor
        2. HBASE-18487_branch-1.patch
          3 kB
          James R. Taylor

        Activity

          People

            jamestaylor James R. Taylor
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: