hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashok shetty (Jira)" <j...@apache.org>
Subject [jira] [Created] (HBASE-23036) Scan returns wrong data when version is used in CF
Date Tue, 17 Sep 2019 06:53:00 GMT
Ashok shetty created HBASE-23036:
------------------------------------

             Summary: 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: 2.1.1, 1.3.1
            Reporter: Ashok shetty


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)

Mime
View raw message