hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: why not obtain row lock when geting a row
Date Mon, 28 Mar 2011 06:36:01 GMT
Also see https://issues.apache.org/jira/browse/HBASE-3357

Lars

On Mon, Mar 28, 2011 at 7:45 AM, Ryan Rawson <ryanobjc@gmail.com> wrote:
> Row locks are not necessary when reading. this changed, that is why that is
> still there.
> On Mar 27, 2011 10:42 PM, "jiangwen w" <wjiangwen@gmail.com> wrote:
>> I think a row lock should be obtained before getting a row.
>> but the following method in HRegion class show a row lock won't be
> obtained
>>
>> *public Result get(final Get get, final Integer lockid)*
>> *
>> *
>> although there is a* lockid* parameter, but it is not used in this method.
>>
>> Sincerely
>> Vince Wei
>

Mime
View raw message