You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] 3002.6 redis_cache.py and redis_return.py break in clustered mode #60272
Description redis_cache.py and redis_return.py attempt to import StrictRedisCluster from the redis-py-cluster package when in cluster mode.
>>> from rediscluster import StrictRedisCluster
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'StrictRedisCluster' from 'rediscluster' (/home/mark.ferrell/.local/lib/python3.8/site-packages/rediscluster/__init__.py)
changed the title [-][BUG] redis_cache.py and redis_return.py break in clustered mode[/-][+][BUG] 3002.6 redis_cache.py and redis_return.py break in clustered mode[/+]on Jun 1, 2021
Activity
[-][BUG] redis_cache.py and redis_return.py break in clustered mode[/-][+][BUG] 3002.6 redis_cache.py and redis_return.py break in clustered mode[/+]s0undt3ch commentedon Jun 28, 2021
Valid issue, the imports need to be fixed.
Fix redis_cache cluster mode import
waynew commentedon Nov 18, 2021
Fixed this in my cache api tests 👍
major0 commentedon Nov 22, 2021
When is this going to be released?
major0 commentedon Nov 22, 2021
Confirmed these changes work on our redis cluster installation.
waynew commentedon Mar 2, 2022
Changes should make it into the Phosphorus release
Cache API tests & unifying behavior (#61229)