redis WRONGTYPE error after deploying a schema change
Redis 7.2. After a deploy we started seeing:
WRONGTYPE Operation against a key holding the wrong kind of value
from HGET user:42 profile. We changed that key from a Hash to a JSON String in the new code, but old keys are still Hashes until they're rewritten. What's the cleanest way to roll this out without breaking reads? Happy to share more detail if it helps.
4 replies