Skip to content

Drill: KV v2 migration

Moduleops.04 · drill · ops, docs · Pass 11 · 1 to 2 h
You builddocs/runbooks/KvV2Migration.md
Testscourse/tests/ops.04 (named below, with why each exists)
Needscraft.13
Used byno code call site; this is an independent artifact
MilestoneMS-P11
  • Tie each claim to the exact platform evidence that Drill: KV v2 migration produces.
  • State the owner, success condition, and recovery action before declaring the work complete.
  • Record unresolved assumptions so the next review can test them.
Terminal window
ol start ops.04
ol tests ops.04
ol check ops.04

A format change affects every prefill/decode boundary and stored block. A partial rollout can mix fp8 payloads with f16 readers.

Before changing writers, verify v1/v2 negotiation, v2 scale metadata, peer capabilities, and spare capacity. Protect the no-loss invariant and keep a tested downgrade.

Canary one engine pair on a known fixture. Confirm v2 hashes, transfer and reconstruct blocks, then raise v2 traffic while watching negotiation failures and request errors. Roll back the writer flag if any peer lacks support.

TestKINDChecksWhy it matters downstream
test_runbook_has_operational_gates_and_recoveryartifactChecks that the runbook names an owner, preconditions, canary gate, rollback, verification, both formats, scale, and hash evidence.The example canary, format hashes, and recovery are concrete requirements the on-call can verify.
#PitfallSymptomCaught by
1The canary advances before the rollback trigger is recordedThe exercise reports success without proving the old format or route can be restored.test_runbook_has_operational_gates_and_recovery
2The team watches request errors but omits the migration-specific signalA partial rollout can corrupt or strand work while the generic health check stays green.test_runbook_has_operational_gates_and_recovery
3No owner records the decision and verification evidenceThe next on-call cannot tell whether the incident is contained.test_runbook_has_operational_gates_and_recovery
DirectionModuleConnection
Backcraft.13Read this declared prerequisite before producing the artifact; use it to verify the relevant contract or evidence.
Backops.03Read this declared prerequisite before producing the artifact; use it to verify the relevant contract or evidence.
ResourceWhat to inspect
Incident drill catalogCompare this inject with the adjacent failure drills and use the same containment and verification fields.