Skip to main content

remove_pending_cluster_replicas_migration

Function remove_pending_cluster_replicas_migration 

Source
fn remove_pending_cluster_replicas_migration(
    tx: &mut Transaction<'_>,
    boot_ts: Timestamp,
) -> Result<(), Error>
Expand description

Drops replicas left durably marked pending.

No runtime path creates one anymore. An upgrade can still come from a version whose staged reconfiguration machine crashed between the pending-create commit and the finalize, and those replicas are excluded from the cluster controller’s ownership test, so this catalog-open sweep is their only remaining cleaner. It goes away together with the durable pending field, once no supported upgrade source can still write one.