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

Minor fixes in row lock implementation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0, 1.3.2, 2.0.0, 1.2.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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_branch-1.patch
          3 kB
          James R. Taylor
        2. HBASE-18487.patch
          3 kB
          James R. Taylor

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: