Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-1
-
None
-
Reviewed
-
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-27671 Client should not be able to restore/clone a snapshot after it's TTL has expired
- Resolved
- relates to
-
HBASE-28734 Improve HBase shell snapshot command Doc with TTL option
- Resolved
-
HBASE-24611 Bring back old constructor of SnapshotDescription
- Resolved
- links to