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

Document locking of HRegion

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Would be good to have some documentation on the locking in HRegion. In particular, the updateLock and the row locks.

      With the optimizations that have been made, e.g. HBASE-5541 this isn't straightforward.

      When do these locks need to be held? What structures do they protect access to? Why does the updateLock not need to be held during rollback? Those sorts of questions.

      I've started do to some of this, but haven't fully fleshed it out.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gchanan Gregory Chanan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: