Redis 8.6 reached end of life on 25 November 2026. Not “will reach” — did, three days ago. If your production cluster still answers INFO server with redis_version:8.6.x, or with the 7.4 line that a lot of teams quietly froze during the license shake-up, you are running a data layer that receives no upstream fixes. Meanwhile Redis Open Source 8.12 went GA on 22 November 2026 with compressed bitmaps, a new B+ tree encoding for large sorted sets, and member-level expiration for sets.
That timing is the whole problem. You have a five-week window (8.10 support was already superseded on 22 November) where upgrading is a planned maintenance task instead of an incident response. This guide is the upgrade plan I’d hand to a team on Monday morning: what actually changed, which of the three migration paths fits your topology, and the failure modes that turn a 20-minute upgrade into a two-day rollback.
TL;DR: The Quick Verdict
Single node under ~50 GB with a maintenance window: Path C (dump and restore) is the least risky and the fastest to execute. Replication pair or Sentinel setup: Path A (replica-first rolling) — promote the upgraded replica, rebuild the old primary, no data loss. Redis Cluster with shards over 20 GB: Path A per shard with CLUSTER FAILOVER, never a full-cluster restart. Run MODULE LIST before anything else: legacy RedisJSON/Search .so files are the number one reason 8.x containers crash-loop on boot. Target 8.12, not 8.10 — 8.10’s support ended the same day 8.12 shipped.
Redis release and support status, November 2026
The dates below come straight from the release calendar; the “verdict” column is my read for production use.
| Release | Latest patch | Released | Support ends | Verdict for production |
|---|---|---|---|---|
| 8.12 | 8.12.0 | 2026-11-22 | Active | Target this. Newest features, full fix stream |
| 8.10 | 8.10.3 | 2026-10-26 | Superseded 2026-11-22 | Only as a stepping stone |
| 8.8 | 8.8.4 | 2026-05-25 | 2027-01-29 | Acceptable short-term, plan the move |
| 8.6 | 8.6.8 | 2026-02-11 | 2026-11-25 (EOL) | No fixes. Upgrade now |
| 8.4 | 8.4.8 | 2025-11-18 | 2026-08-10 (EOL) | Unsupported for three months |
The repository itself is as alive as ever: 77,766 stars, last push 27 November 2026, and the core is still plain C. Star count does not matter for your upgrade, but release cadence does — Redis now ships minor versions roughly every three months, which means the “upgrade once a year” habit leaves you permanently one cycle behind and, as of this week, permanently out of support.
What Redis 8.12 actually changed
The 8.12 notes list four things that matter operationally, and one that matters for memory planning:
- Compressed bitmaps. The
redis-roaringproject was merged into the core, so bitmap-heavy keys use less memory and range operations get faster. A newBITRANGEINTARRAYcommand exposes the offsets of set bits in a range — the kind of operation that used to requireBITFIELDgymnastics or a Lua script. - B+ tree encoding for large sorted sets. Leaderboards and time-ordered indexes above the listpack threshold get a substantial memory reduction.
MEMORY USAGEnumbers you recorded on 8.10 will not match after the upgrade — sometimes by a lot. - Set member expiration. Sets can now carry per-member TTLs, which finally kills the “one key per session” workaround for things like recently-viewed lists and tag buckets.
BLESS, a command that protects specified keys from eviction, andZMOVE/BZMOVE/ZMOVEMEMBERfor atomic moves between sorted sets.
Two things that did not change but people assume did: the build toolchain (JSON, time series, Bloom/cuckoo/count-min/top-k, t-digest and the query engine are all compiled into the core now, and the build wants LLVM 21, CMake 3.25–3.31.6 and Rust 1.94 if you compile from source rather than use the image), and the license model. Redis 8 and later is tri-licensed RSALv2 / SSPLv1 / AGPLv3 — pick AGPLv3 if you need a genuine open-source grant; 7.2 and earlier stay BSD-3.
Because the new commands are recent, do not trust a blog post (including this one) for argument order. Ask the server:
| |
A set with expiring members, using the documented shape (SEXPIRE key seconds plus member list, verified via COMMAND DOCS above):
| |
And a bitmap range read that used to need a scan:
| |
The pre-flight audit (do this before touching any node)
Every failed Redis upgrade I have seen skipped one of these five checks. Run them against the old primary and keep the output in the change ticket.
| |
If step 2 returns module:name=ReJSON or search loaded from a .so you compiled yourself, stop. Redis 8 bundles those capabilities in the core, and loading the old shared object alongside them is a startup failure waiting to happen. Remove the loadmodule lines from redis.conf, boot the new binary, then prove the bundled commands answer:
| |
Three migration paths, compared honestly
| Path | Downtime per shard | Data risk | Rollback | Cluster support | Best for |
|---|---|---|---|---|---|
| A. Replica-first rolling | Seconds (failover) to ~1 min | Very low; replica is already caught up | Promote the old primary back if you kept it intact | Native, per shard | Replication, Sentinel, Cluster |
| B. Blue-green cutover | Zero to near-zero | Low, but dual-write logic is yours to get right | Instant DNS/service switch back | Available, operationally heavy | Strict SLOs, schema-adjacent changes |
| C. Dump and restore | Minutes to hours | Depends entirely on your last snapshot | Restore the old snapshot on the old binary | No | Single nodes, dev/staging, <50 GB |
Path A — Replica-first rolling upgrade
This is the default for anything with a replica, and it is the only path that works shard by shard in a cluster.
| |
In Redis Cluster the same idea is expressed with CLUSTER FAILOVER against an already upgraded replica of each shard, then upgrading the demoted node:
| |
The trap in Path A is durability, not availability. If appendfsync is everysec (the sane default), the last second of writes can vanish on a hard failover. Check it explicitly and call it out in the change ticket — WAITAOF 1 0 <timeout> is how you prove the AOF reached a replica before you cut over.
Path B — Blue-green cutover
You stand up a fresh 8.12 deployment, replay or dual-write into it, then flip the endpoint. It is the only way to get truly zero downtime on a single-primary setup, and it is the only path where you can walk away cleanly if the new version misbehaves on your workload. The cost is real: dual-write code, a reconciliation pass for keys written during the cutover, and a cache warm-up plan so the new tier does not get stampeded by cold misses.
Use it when the upgrade is bundled with something else — a new instance family, a move to a managed service, or a change in key naming. Do not use it for a routine patch bump; you will spend a week on plumbing to save ninety seconds of failover.
Path C — Dump and restore
For a single node with a maintenance window, nothing beats it for simplicity:
| |
Bring up the new build with that file in place. The Docker shape below is what I use for the verification pass — pin the patch version, keep AOF on, and give the container a real healthcheck so Compose does not hand traffic to a booting server:
| |
Then verify the dataset survived before you let traffic in: DBSIZE and a sample of your biggest keys should match the pre-upgrade numbers you wrote down in the audit step.

Decision matrix: pick in ten seconds
| Your situation | Recommended path | Why |
|---|---|---|
| Single node, <50 GB, maintenance window allowed | C — dump and restore | Fastest to execute, easiest to reason about |
| Primary + replica, or Sentinel | A — replica-first | No data loss, failover measured in seconds |
| Redis Cluster, shards >20 GB | A per shard with CLUSTER FAILOVER | Rolling restart of the whole cluster risks slot loss |
| Strict zero-downtime SLO | B — blue-green | Only path with a real abort button |
Legacy .so modules still loaded | Fix modules first, then A | Nothing else matters until boot succeeds |
| Still on 7.2/7.4 | A or C straight to 8.12 | The license and support story changed; stop deferring |
Pitfalls that turn a Redis upgrade into an outage
- Downgrade is not a plan. New encodings (compressed bitmaps, B+ tree sorted sets) are written into your RDB/AOF. Assuming an older binary can read a newer snapshot is exactly how teams lose a dataset during “rollback”. If rollback matters, keep the old node’s data intact and roll back to it, not to an older binary on new data.
MEMORY USAGEbaselines break. The B+ tree encoding changes reported sizes. Renegotiatemaxmemoryafter the upgrade using fresh measurements, or your eviction rate will move without a code change.- Module leftovers. Bundled JSON/Search/TimeSeries in core plus your old
loadmodulelines equals a crash-loop. Delete the lines, keep the data. - Client libraries lag the server. Old client majors may not know the new commands — they will return “unknown command” errors, which application code often swallows into a
nil. Bump the client before the server, and check the client’s error handling withCOMMAND INFO BITRANGEINTARRAY. - Cluster upgrades done in parallel. Two shards failing over at once can drop below quorum for that window. Serialize per shard and watch
cluster_state:okbetween steps. - Replica lag hidden by
INFO.master_link_status:updoes not mean zero lag. Compareslave_repl_offsetto the primary’smaster_repl_offsetbefore promoting, and useWAITAOFwhen durability is contractual.
FAQ
Is Redis 8.12 a drop-in replacement for 7.4?
For data and commands, essentially yes — the core protocol is unchanged and existing clients keep working. The differences that bite are operational: bundled modules (drop your old .so loads), the license (8.x is tri-licensed RSALv2/SSPLv1/AGPLv3, 7.2 was BSD-3), and new encodings that make downgrade unsafe.
How long should a Redis 8.12 upgrade take? A replica-first failover is seconds; the binary rebuild and resync on the demoted node is typically 5–20 minutes depending on dataset size. Dump and restore on a 20 GB dataset is usually 10–30 minutes of transfer plus load time. Cluster upgrades are the long tail: budget one maintenance window per shard rather than one for the cluster.
Can I downgrade from 8.12 back to 8.10? Treat that as unsupported. The 8.12 line introduces new internal encodings that get persisted; an older binary may refuse or misread the data. If you need a rollback path, keep the old node and its data untouched until the new deployment has survived a full traffic cycle.
Should I switch to Valkey instead of upgrading? That is a different decision with its own trade-offs — licensing, module coverage, and where your client libraries are tested. If you are staying on Redis, 8.12 is the supported target; if you are evaluating the fork, compare the full matrix before committing, and do not mix a version upgrade with a vendor switch in the same change window.
Do I have to rebuild from source to get JSON, Search, and TimeSeries? No. Official 8.x builds include them, which is precisely why the old module files must go. Building from source pulls in LLVM 21, CMake 3.25–3.31.6 and Rust 1.94; for most teams the official image is the right call.
What is the single most useful pre-upgrade check?
redis-cli MODULE LIST. Every other failure mode is recoverable with patience; a boot-time module conflict on a node you just replaced is the one that costs you a night.
For the tooling side of moving data between versions and topologies, our Redis migration tools comparison covers RedisShake, redis-port and redis-dump-go against real datasets. If your upgrade touches failover design rather than version numbers, the Sentinel vs Cluster high-availability guide is the companion read, and persistence strategies for RDB and AOF explains why your rollback plan depends on appendfsync more than on the version number.
💰 想测试你的市场判断力?我用 Polymarket 做预测市场交易——这是全球最大的预测市场平台,从大选结果到技术监管时间线,什么都可以押注。和赌博不同,这是真正的信息市场:你懂的信息越多,胜率越高。我靠预测技术相关事件的走向已经赚了不少。用我的邀请链接注册:Polymarket.com