You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wellington Chevreuil (JIRA)" <ji...@apache.org> on 2018/12/19 18:05:00 UTC
[jira] [Commented] (HBASE-21622) Getting old value for cell after
TTL expiry of latest value cell value set with TTL.
[ https://issues.apache.org/jira/browse/HBASE-21622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16725239#comment-16725239 ]
Wellington Chevreuil commented on HBASE-21622:
----------------------------------------------
This problem seems related to HBASE-21596, where even with VERSIONS set to 1, multiple versions are kept in the memstore. So if a delete for a specific version happens when there are multiple versions still in the memstore, the newest version is then showed. If you trigger a flush command for "sepTest" between the two inserts, after TTL expiration, there should be no value.
> Getting old value for cell after TTL expiry of latest value cell value set with TTL.
> ------------------------------------------------------------------------------------
>
> Key: HBASE-21622
> URL: https://issues.apache.org/jira/browse/HBASE-21622
> Project: HBase
> Issue Type: Bug
> Reporter: Pankaj Birat
> Priority: Trivial
> Attachments: Screenshot 2018-12-19 at 11.18.52 PM.png, Screenshot 2018-12-19 at 11.20.39 PM.png
>
>
> I am using HBase version 1.2.7
> Getting old value for cell after TTL expiry of latest value cell value set with TTL.
> Table:
> COLUMN FAMILIES DESCRIPTION
> {NAME => 'data', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '1'}
>
> First time I am putting cell value without TTL.
> Eg.
> *put 'sepTest', '1', 'data:value', 'one'*
> Now for same key I am putting value with TTL
> *put 'sepTest', '1', 'data:value', 'updated_one', \{TTL => 100000}*
> Till expiry time (100000)
> I am getting value : 'updated_one' for key '1'
> After expiry of TTL I am getting old valu !Screenshot 2018-12-19 at 11.18.52 PM.png! e 'one'
>
> Attaching screenshot for reference
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)