fix(device-core): make migration replay recovery safe
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"schemaVersion": "nodedc.device-plane.device-control-core-migration-replay-recovery.v1",
|
||||
"mode": "double-rollback-failed-migration-014-forward-repair",
|
||||
"failedIncidentAudit": "device-control-core-incident-audit-20260822-043",
|
||||
"sourcePredecessor": {
|
||||
"path": "services/device-control-core/migrations/014_device_registry_profile_commands.sql",
|
||||
"sha256": "751accf346b34d2774cc7b9572640d2c25fdb0b1db793ac32183b56f48e26508"
|
||||
},
|
||||
"sourceTarget": {
|
||||
"path": "services/device-control-core/migrations/014_device_registry_profile_commands.sql",
|
||||
"sha256": "38bd86b42828d44c7101d5433ddc36018e92eedeee37b9de296432ad676edd46"
|
||||
},
|
||||
"rootCause": "intermediate-command-kind-check-revalidated-historical-receipts",
|
||||
"repair": "migration-014-add-constraint-not-valid",
|
||||
"databasePreflight": "all-live-command-kinds-covered-by-final-migration-016",
|
||||
"databaseRowMutation": "none",
|
||||
"databaseSchemaOutcome": "final-migration-016-validated-command-kind-check",
|
||||
"runtimeAction": "build+recreate-device-control-core-only",
|
||||
"runtimePredecessor": "proven-degraded-double-rollback-state",
|
||||
"preservedServices": [
|
||||
"device-manager",
|
||||
"device-gateway",
|
||||
"device-postgres",
|
||||
"device-backhaul-target"
|
||||
],
|
||||
"databaseVolume": "nodedc-device-plane-postgres-data",
|
||||
"publicIngress": "disabled",
|
||||
"edgeChannel": "core-initiated-pinned-mtls-registered-edges-only",
|
||||
"rollback": "source+exact-degraded-predecessor-image-runtime"
|
||||
}
|
||||
Reference in New Issue
Block a user