You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2019/07/02 09:48:00 UTC

[jira] [Created] (HBASE-22648) Snapshot TTL

Andrew Purtell created HBASE-22648:
--------------------------------------

             Summary: Snapshot TTL
                 Key: HBASE-22648
                 URL: https://issues.apache.org/jira/browse/HBASE-22648
             Project: HBase
          Issue Type: New Feature
          Components: snapshots
            Reporter: Andrew Purtell


Snapshots have a lifecycle that is independent from the table from which they are created. Although data in a table may be stored with TTL the data files containing them become frozen by the snapshot. Space consumed by expired cells will not be reclaimed by normal table housekeeping like compaction. While this is expected it can be inconvenient at scale. When many snapshots are under management and the data in various tables is expired by TTL some notion of optional TTL (and optional default TTL) for snapshots could be useful. It will help prevent the accumulation of junk files by automatically dropping the snapshot after the assigned TTL, making their data files eligible for cleaning. More comprehensive snapshot lifecycle management may be considered in the future but this one case is expected to be immediately useful given TTls on data are commonly applied for similar convenience. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)