[
https://issues.apache.org/jira/browse/HBASE-6725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas ThiƩbaud updated HBASE-6725:
------------------------------------
Description:
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.
was:When using CAP with an empty array as expected value and using a lock on
the corresponding row, hbase may allow a Put even if the value was already
there.
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira