Skip to main content

retention_delete_target

Function retention_delete_target 

Source
pub fn retention_delete_target(last_offset: Option<i64>) -> Option<i64>
Expand description

The exclusive delete-through target after an inclusive last offset.

No selected segment gives no target. An inclusive last offset of i64::MAX has no representable successor, so it fails closed with no target too.