ERR Operation against a key holding the wrong kind of value during Redis schema migration
Goal: Determine a reliable strategy to revert Redis data to its previous state after a failed schema change that triggers the "ERR Operation against a key holding the wrong kind of value" error. Constraints: Redis MULTI/EXEC does not roll back; any preceding queued commands still execute on failure, and there is no built‑in snapshot/restore mechanism within