Skip to main content

execution_partition

Function execution_partition 

Source
pub fn execution_partition(
    eid: &ExecutionId,
    _config: &PartitionConfig,
) -> Partition
Expand description

Compute the partition for an execution ID.

Post-RFC-011: decodes the hash-tag prefix out of the id string; does NOT re-hash the UUID. The partition index is baked into the id at mint time via ExecutionId::for_flow / ExecutionId::solo. The config arg is retained for API symmetry with the other partition functions, but is unused — the exec id carries its partition intrinsically.