[
https://issues.apache.org/jira/browse/HBASE-14630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14961215#comment-14961215
]
Emre Colak commented on HBASE-14630:
------------------------------------
Ok, I think I understand what you mean. My understanding was that once I set
TTL on a cell, it should not come up in a scan result after the TTL expires.
And I was trying to set a TTL on a cell by performing another PUT operation
with the same row key, same column family, same qualifier and same value plus a
TTL for the mutation. But if I understand you correctly, there is no real
updating the TTL of a cell, the 2nd PUT operation inserts another version of
the cell, this time with a TTL.
Is there another way of setting the TTL on a cell, so that it does not come up
in scan results after the TTL expires?
> Cells still show up in scan after cell-level TTL has expired
> ------------------------------------------------------------
>
> Key: HBASE-14630
> URL: https://issues.apache.org/jira/browse/HBASE-14630
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.0.2, 1.1.2
> Reporter: Emre Colak
>
> I have an HBase table with the following description:
> {NAME => 'cf', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW',
> REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE',
> MIN_VERSIONS => '0' , TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE',
> BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}
> I put some values in it and then set TTL (30s) on those values with another
> put operation. First thing I notice is that the timestamps of the cells get
> updated after the 2nd put. And 30 seconds later, when I do a scan on the
> table, I still see those cells in the table, however this time with their
> timestamps updated to the original timestamps.
> I understand that these cells won't necessarily be deleted until a
> compaction, but they still come up in my scan even though the TTL
> that I set on them has expired.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)