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

batchMutate/put release the same lock twice

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Put uses batchMutate to do the actual work. Put calls startRegionOperation/closeRegionOperation. BatchMutate does the same. If the same thread already holds the lock, lock it again doesn't increase the lock count.
      However, releasing lock is a little different. If the lock is already released, IllegalMonitorStateException will throw if it is released again.

      There could be other calls. I will look into it more.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jxiang Jimmy Xiang
                Reporter:
                jxiang Jimmy Xiang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: