573
case enumspb.NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF:
574
return 1, c.GetAttempt() * 2, nil
575
>
case enumspb.NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED:
statemachine.go
576
>
// We've made slightly more progress if we transitioned from backing off to scheduled.
577
>
return 1, c.GetAttempt()*2 + 1, nil
578
case enumspb.NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED, enumspb.NEXUS_OPERATION_CANCELLATION_STATE_FAILED:
579
// Consider any terminal state as "max progress", we'll rely on last update namespace failover version to break