You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ashok shetty (Jira)" <ji...@apache.org> on 2019/09/17 09:37:00 UTC

[jira] [Resolved] (HBASE-23036) Scan returns wrong data when version is used in CF

     [ https://issues.apache.org/jira/browse/HBASE-23036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashok shetty resolved HBASE-23036.
----------------------------------
    Resolution: Duplicate

closing as a dulpicate of HBASE-21596

> Scan returns wrong data when version is used in CF
> --------------------------------------------------
>
>                 Key: HBASE-23036
>                 URL: https://issues.apache.org/jira/browse/HBASE-23036
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.3.1, 2.1.1
>            Reporter: Ashok shetty
>            Priority: Major
>
> Created a table with 2 versions , after couple of delete operations Scan return stale data 
> Steps followed 
> 1. create 'Ashok', {NAME => 'cf', VERSIONS => 2}
> 2. put 'Ashok','r1','cf:cq','500'
> 3. flush 'Ashok'
> 4.  put 'Ashok','r1','cf:cq','600'
>      put 'Ashok','r1','cf:cq','700'
>      put 'Ashok','r1','cf:cq','800'
>      put 'Ashok','r1','cf:cq','900'
> 5. delete 'Ashok','r1','cf:cq',1568694586309
> At step5 we deleted value 700 by specifying Timestamp
> 6. flush 'Ashok'
> 7. delete 'Ashok','r1','cf:cq',1568694588889
> At step7 we deleted value 800 by specifying Timestamp
> 8. flush 'Ashok'
> 9. scan 'Ashok',{ VERSIONS => 10 }
> At step 9  scan retuned wrong data value 900 & 500 
> Expected output 900 & 600 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)