feat: add Redis Cluster session and memory services#223
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #223 +/- ##
==========================================
Coverage ? 87.85080%
==========================================
Files ? 482
Lines ? 45147
Branches ? 0
==========================================
Hits ? 39662
Misses ? 5485
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
AI Code Review我已经从 diff 和相关的父类代码( 发现的问题🚨 Critical(未发现必须修复的阻塞性问题。)
|
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
476ee6b to
7e1ebce
Compare
AI Code Review内部没有使用动态方法。因此, 让我敲定最终结论。我还要注意一下关于 让我写下审查报告。## 发现的问题
|
Summary
RedisClusterSessionServiceandRedisClusterMemoryServicebacked by redis-py's native cluster clientsWhy
The existing Redis services use a standalone Redis client and cannot follow Redis Cluster redirects. These services allow session and memory persistence to work with a Redis Cluster deployment.
Validation
pytest tests/storage/test_redis_cluster_storage.py tests/sessions/test_redis_cluster_session_service.py tests/memory/test_redis_cluster_memory_service.pypytest tests/sessions/test_redis_session_service.py tests/memory/test_redis_memory_service.py