Skip to content

Docker: run the cache on Valkey 9.1 - #340

Merged
ericholscher merged 2 commits into
mainfrom
claude/project-thread-6v1g5j
Nov 4, 2026
Merged

ericholscher merged 2 commits into
mainfrom
claude/project-thread-6v1g5j

Conversation

@ericholscher

@ericholscher ericholscher commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Requested by Eric · project thread

ElastiCache ends standard support for Redis OSS 6 on January 31, 2027. Production will move with an in-place upgrade to node-based Valkey 9.1, the newest version ElastiCache offers. This switches the local broker/cache from Redis 6.2 to Valkey 9.1 so dev matches production.

No app changes are needed. With the pinned celery 5.6.3, kombu 5.6.2 and redis-py 8.1.0 used by both readthedocs.org and the builder, I tested against Valkey 9.1.3, and these all work:

  • Django RedisCache
  • task routing to celery/web/build-large
  • inspect().ping(), cancel_consumer and revoke(terminate=True)
  • the KEYS / OBJECT IDLETIME / MEMORY USAGE calls in cleanup_pidbox_keys

The existing --requirepass command and redis:// URLs work unchanged.

ElastiCache Serverless was ruled out. It runs in cluster mode, where the Celery worker fails at startup with CROSSSLOT errors, and Django's cache multi-key calls fail as well.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QuYESaFoz9eRN6VncKUtee

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QuYESaFoz9eRN6VncKUtee
@ericholscher ericholscher self-assigned this Nov 3, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QuYESaFoz9eRN6VncKUtee
@ericholscher ericholscher changed the title Docker: run the cache on Valkey 7 Docker: run the cache on Valkey 9.1 Nov 3, 2026
@ericholscher
ericholscher marked this pull request as ready for review November 3, 2026 13:23
@ericholscher
ericholscher requested a review from a team as a code owner November 3, 2026 13:23
@ericholscher
ericholscher requested a review from stsewd November 3, 2026 13:23
@ericholscher
ericholscher merged commit c9f3d7a into main Nov 4, 2026
1 check passed
@ericholscher
ericholscher deleted the claude/project-thread-6v1g5j branch November 4, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants