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
There is a bug in CacheProxyConnection that throws an exception when attempted to use client-side caching on an environment where hiredis is installed, and the issue is still present in v6.0.0 that just got released.
traceback:
"/Users/kevinlee/Desktop/projects/firespotter_v2/venv3.11/lib/python3.11/site-packages/redis/connection.py", line 994, in _enable_tracking_callback
conn._parser.set_invalidation_push_handler(self._on_invalidation_callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: '_HiredisParser' object has no attribute 'set_invalidation_push_handler'
it's basically expecting a _RESP3Parser but redis-py ends up setting _HiredisParser instead when hiredis is available.
workaround for now is obviously to avoid installing hiredis when using client-side caching, but we want it fixed because we'd like to maintain 2 separate connection pools, 1 with client-side caching enabled and the other without.
The text was updated successfully, but these errors were encountered:
There is a bug in
CacheProxyConnection
that throws an exception when attempted to use client-side caching on an environment wherehiredis
is installed, and the issue is still present in v6.0.0 that just got released.traceback:
it's basically expecting a
_RESP3Parser
butredis-py
ends up setting_HiredisParser
instead whenhiredis
is available.workaround for now is obviously to avoid installing
hiredis
when using client-side caching, but we want it fixed because we'd like to maintain 2 separate connection pools, 1 with client-side caching enabled and the other without.The text was updated successfully, but these errors were encountered: