hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 肖之慰 <zwx...@gmail.com>
Subject Why does HRegion acquire all needed locks before performing batch put?
Date Thu, 05 May 2011 10:19:19 GMT
hi all,

When I read the doMiniBatchPut function in HBase-0.90.1, I find that
it would first acquire as many row locks as it can before performing
updates. If one row is not accessible, all following rows will not be
updated for this batch. So why not update one row at a time so that
every row can be processed?

Thank you.
---
Wade

Mime
View raw message