Skip to main content

expire

Function expire 

Source
pub fn expire(root: &Path, signal: &str, cutoff_ns: i64) -> Result<usize>
Expand description

Drop every block whose newest row is older than cutoff_ns.

TTL is a directory unlink, not a compaction: there is no read-modify-write of live data, so retention costs no IO bandwidth and cannot interfere with ingest.