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

Daniel Gómez Ferro commented on HBASE-5579:
-------------------------------------------

0 wasn't counting before the change. There were 4 versions (0 to 3), the test 
removed version 1 and assumed "0 doesn't count" so it expected 2 versions.

With this fix, 0 does indeed count and it expects 3 versions correctly.

If we set/check -1 we would have the same problem with version -1, a delete 
with version > -1 would also mask values inserted at timestamp -1.
                
> A Delete Version could mask other values
> ----------------------------------------
>
>                 Key: HBASE-5579
>                 URL: https://issues.apache.org/jira/browse/HBASE-5579
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0
>            Reporter: Daniel Gómez Ferro
>         Attachments: HBASE-5579.patch
>
>
> A Delete Version operation mask values that have version = 0. The problem 
> happens at ScanDeleteTracker.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to