You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2016/11/16 22:16:58 UTC
[jira] [Resolved] (HBASE-6725) Check and Put can fail when using
locks
[ https://issues.apache.org/jira/browse/HBASE-6725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-6725.
--------------------------
Resolution: Cannot Reproduce
Resolving because against 0.90 hbase. Also locking is different now in that we don't take it across whole row so should not conflict w/ checkAndPut.
> Check and Put can fail when using locks
> ---------------------------------------
>
> Key: HBASE-6725
> URL: https://issues.apache.org/jira/browse/HBASE-6725
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.90.4
> Environment: tested on mac os x
> Reporter: Nicolas ThiƩbaud
> Attachments: CAPwithLocks.zip, TestCase_HBASE_6725.patch
>
>
> When multiple threads race using CAP with and a lock on the same row, several instances may be allowed to update the cell with the new value (although the expected value is different).
> If all threads race with a wrong expected value and a lock, none will be able to update.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)