Question
During a rolling upgrade of a primary-replica pair, what sequence preserves service?
Answer
Upgrade replicas sequentially, confirm each catches up, promote an upgraded replica, then upgrade the former primary. Keep a healthy replica available before each role change. Applies to Redis and Valkey.