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

Deadlock when RS tries to RPC to itself inside SplitTransaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.90.0
    • 0.90.0
    • IPC/RPC, regionserver
    • None
    • Reviewed

    Description

      In testing the 0.89.20100830 rc, I ran into a deadlock with the following situation:

      • All of the IPC Handler threads are blocked on the region lock, which is held by CompactSplitThread.
      • CompactSplitThread is in the process of trying to edit META to create the offline parent. META happens to be on the same server as is executing the split.

      Therefore, the CompactSplitThread is trying to connect back to itself, but all of the handler threads are blocked, so the IPC never happens. Thus, the entire RS gets deadlocked.

      Attachments

        1. hbase-2964.txt
          2 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: