[
https://issues.apache.org/jira/browse/HBASE-7050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018415#comment-14018415
]
Gregory Chanan commented on HBASE-7050:
---------------------------------------
Hmm...unfortunately I can't find my notes anymore. And they would probably be
too out of date to be reliable.
At the time, I found the following the most useful:
1) The HBase Internals talk by Lars
(http://www.slideshare.net/cloudera/3-learning-h-base-internals-lars-hofhansl-salesforce-final)
2) Reading through HRegion.java and trying to understand everything
There may be better resources now, I'm not sure. Hopefully that helps.
> Document locking of HRegion
> ---------------------------
>
> Key: HBASE-7050
> URL: https://issues.apache.org/jira/browse/HBASE-7050
> Project: HBase
> Issue Type: Task
> Components: documentation, Transactions/MVCC
> Reporter: Gregory Chanan
> Priority: Minor
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)