Skip to main content

MAX_CLUSTER_VIEW_LOG_SEGMENTS

Constant MAX_CLUSTER_VIEW_LOG_SEGMENTS 

Source
pub const MAX_CLUSTER_VIEW_LOG_SEGMENTS: usize = 24_576;
Expand description

Most segments one cluster cut retains across all of its participants. Cleanup and topology migration load a cut’s manifests, and a migration root beside its first target cut, within 16 MiB together; at about 285 encoded bytes a segment, two cuts at this budget stay near 13 MiB and leave room for state frames.