Skip to main content

view_log_segment_limit

Function view_log_segment_limit 

Source
pub fn view_log_segment_limit(participants: Option<usize>) -> usize
Expand description

Most segments one manifest may retain when its cut has participants participants: in a cluster an even share of MAX_CLUSTER_VIEW_LOG_SEGMENTS, and never more than MAX_VIEW_LOG_SEGMENTS.