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

Clean up and document locks in HRegion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • regionserver
    • None

    Description

      HRegion now has four different lock objects:

      • splitsAndClosesLock (RWLock)
      • newScannerLock (RWLock)
      • updatesLock (RWLock)
      • splitLock (Object)

      It's not well documented what the purpose of each is, and I imagine we may be able to get rid of at least one.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: