Pcornel
Automation · Rollback & Recovery

Partial Failure

Cheat sheet · https://pcornel.dk/topic.php?topic=5955

Back to the Topic

Answer

Partial failure in rollback and recovery means some targets were changed and some not. Decide whether to roll back the changed ones or complete the rest, and track exactly which state each target is in.

Remember

  • Track state per target.
  • Decide roll back or complete.
  • Idempotency helps.

First checks

  • Per-target result tracking — which succeeded
  • Batch stop on failure (max_fail_percentage) — containment
  • Reconcile partial state — cleanup

Verify in this order

batch → some fail → stop → reconcile

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5955

Confirmation

Confirm action

Continue?