[ 
https://issues.apache.org/jira/browse/HBASE-7077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490389#comment-13490389
 ] 

Hudson commented on HBASE-7077:
-------------------------------

Integrated in HBase-0.94-security-on-Hadoop-23 #9 (See 
[https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/9/])
    HBASE-7077 ADDENDUM, add TestCategory (Revision 1404641)
HBASE-7077 Test for: CheckAndPut should properly read MVCC (Ram) (Revision 
1404383)

     Result = FAILURE
larsh : 
Files : 
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHBase7051.java

larsh : 
Files : 
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHBase7051.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java

                
> Test for: CheckAndPut should properly read MVCC
> -----------------------------------------------
>
>                 Key: HBASE-7077
>                 URL: https://issues.apache.org/jira/browse/HBASE-7077
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Gregory Chanan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.94.3, 0.96.0
>
>         Attachments: HBASE-7071.patch, HBASE-7071_testcasewithassert.patch
>
>
> checkAndPut should integrate with MVCC, similar to how HBASE-4583 fixed 
> appends and increments.
> Also need a test, here's one we could use (originally proposed in HBASE-7051):
> The current value of some cell is 10.
> I issue two concurrent requests:
> A) a check and put where check value = 10, put value = 11
> B) a put where put value = 50
> The only result at the end of these operations that seems reasonable to me is 
> the value of the cell being 50. If A occurred first (ACID wise), then our 
> values go 10->11->50. If B occurred first, then our values go 10->50 (and the 
> checkAndPut fails)

--
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

Reply via email to