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

Thread contention over row locks set monitor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.90.2
    • 0.90.4
    • None
    • None
    • Reviewed

    Description

      HRegion maintains a set of row locks. Whenever any thread attempts to lock or release a row it needs to acquire the monitor on that set. We've been encountering cases with 30 handler threads all contending for that monitor, blocked progress on the region server. Clients timeout, and retry making it worse, and the region server stops responding to new clients almost entirely.

      Attachments

        1. regionserver_rowLock_set_contention.threads.txt
          73 kB
          Dave Latham
        2. concurrentRowLocks-trunk-2.patch
          12 kB
          Dave Latham
        3. concurrentRowLocks-trunk.patch
          7 kB
          Ted Yu
        4. concurrentRowLocks-2.patch
          12 kB
          Dave Latham

        Issue Links

          Activity

            People

              davelatham Dave Latham
              davelatham Dave Latham
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: