Skip to main content

remote_partition_delete_transition

Function remote_partition_delete_transition 

Source
pub const fn remote_partition_delete_transition(
    from: Option<RemotePartitionDeleteLifecycle>,
    to: RemotePartitionDeleteLifecycle,
) -> bool
Expand description

Kafka’s RemotePartitionDeleteState.isValidTransition: with no prior state only DELETE_PARTITION_MARKED is admitted; otherwise a forward edge or an idempotent self transition.