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

HBOSS: Limit depth that listing locks check for other locks

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      treeWriteLock will check all the way up and down the tree for locks. This is more aggressive than it needs to be, and integration testing has shown that there's significant contention when listing tables, and this is one of numerous operations that doesn't need to recursively lock the whole subtree. There's actually a number of operations that only need to lock up or down 1 level only, so let's start with listing: non-recursive listings don't need to care about what's going on more than 1 level below them.

        Attachments

        1. HBASE-22386.002.patch
          25 kB
          Sean Mackrory
        2. HBASE-22386.001.patch
          23 kB
          Sean Mackrory

          Issue Links

            Activity

              People

              • Assignee:
                mackrorysd Sean Mackrory
                Reporter:
                mackrorysd Sean Mackrory
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: