You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashok shetty (Jira)" <ji...@apache.org> on 2019/09/17 06:53:00 UTC
[jira] [Created] (HBASE-23036) Scan returns wrong data when version
is used in CF
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)