Categories

Tools

How to fix Can't handle RDB format version 17 after Redis 8.12 on Docker

Redis 8.12.0 saves data in RDB format 17, and Redis 8.10 or Valkey 9.2 reject it with Can't handle RDB format version 17. Pin the image to redis:8.12 to start right away. To go back to 8.10 or move to Valkey, restore the pre-upgrade backup or copy the data with RedisShake 4.9.0: I tested it with 1016 keys.

Architecture

Valkey as a Redis replacement: a real migration with Valkey 8.1

Valkey 8.1, released on March 31, is protocol and command compatible with Redis 7.x, so most existing clients connect without code changes. Swapping Valkey in for Redis is a realistic move once you plan the cutover: dump and restore is the simplest path, while zero downtime needs asymmetric replication. We moved our first production cluster two weeks ago.

Architecture

Valkey: The Open Fork After Redis’s License Change

Redis moved to dual SSPL/RSAL licensing in March 2024, no longer meeting the OSI open-source definition. Valkey emerged as a BSD 3-Clause fork backed by AWS, Google Cloud, Oracle, and the Linux Foundation, fully protocol-compatible with Redis 7.2. Migrating is almost always trivial: swap the binary or the Docker image.