hi,experts:
i have two concurrent threads to read/write same the same htable row.
this row has two columns A and B.
Currently this rows value is (A:a1, B:b1)
thread 1 wants to read the value of this row's column value for A, B
and thread 2 wants to update this row to (A:a2, B:b2)
if thread 1,2
i found a good article
https://blogs.apache.org/hbase/entry/apache_hbase_internals_locking_and
which seems to have answered my question.
so the my described scenario will NEVER happen no matter whether A and B
are in same column family? please kindly confirm
thanks
On Tue, Nov 17, 2015 at 4:07
Oh, it will never happen.
Each put will acquire row lock to guarantee consistency.
2015-11-17 16:20 GMT+08:00 hongbin ma :
> i found a good article
> https://blogs.apache.org/hbase/entry/apache_hbase_internals_locking_and
> which seems to have answered my question.
>
> so