[ https://issues.apache.org/jira/browse/HBASE-21622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16725243#comment-16725243 ]
Pankaj Birat edited comment on HBASE-21622 at 12/19/18 6:15 PM: ---------------------------------------------------------------- [~wchevreuil] there would be multiple versions in the memstore if the two/more writes came before memstore flush. But in my case there was around 12hrs of difference between these two put calls, first without TTL second with TTL. was (Author: pkbmh): [~wchevreuil] there would be multiple versions in the memstore if the two/more writes came before flush. But in my case there was around 12hrs of difference between these two put calls, first without TTL second with TTL. > 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)