Skip to main content

validate_chunk

Function validate_chunk 

Source
pub fn validate_chunk(
    chunk: &ChunkTelemetry,
    state: &RunningAggregateStateV1,
) -> Result<(), MergeError>
Expand description

Validate a chunk against the running state before merging it in.

ยงErrors

Returns an error for zero-iteration chunks, out-of-range indices, or incompatible buckets.