Review Board 1.7.22


multi-row local transactions.

Review Request #3748 - Created Feb. 3, 2012 and submitted

Lars Hofhansl
trunk
HBASE-5229
Reviewers
hbase
hbase
This builds on HBASE-3584, HBASE-5203, and HBASE-5304.

Multiple Rows can be locked and applied atomically as long as the application ensures that all rows reside in the same Region (by presplitting or a custom RegionSplitPolicy).
At SFDC we can use this to colocate subsets of a tenant's data and allow atomic operations over these subsets.

Obviously this is an advanced features and this prominently called out in the Javadoc.
Tests added to TestFromClientSide and TestAtomicOperation
Review request changed
Updated (Feb. 8, 2012, 12:15 a.m.)
Hopefully the last iteration.
* Added Javadoc
* moved coprocessor endpoint to org.apache.hadoop.hbase.coprocessor (not ...hbase.client.coprocessor)
Posted (Feb. 8, 2012, 1:06 a.m.)

   

  
  1. Ah yes, good catch as usual. If there're no further comments, I'll do that on commit.
    Thanks Ted.
Replace operations with transactions.
  1. And presumably remove "atomic" as it is implied by transaction, right?
Please plug in testMultiRowMutation
testMultiRowMutation here as well.