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
The method xgroup_create of the redis cluster client fails when running on redis version 7.0.0.
Using the version 4.2.2 of the python redis client, the python version is 3.10.4, OS is Ubuntu 22.04.
The method should work just like it did when using the same client version with redis version 6.2.6.
Additional information
This is the output of the python stack trace.
File ~/.cache/pypoetry/virtualenvs/poetry_venv-py3.10/lib/python3.10/site-packages/redis/cluster.py:976, in RedisCluster.determine_slot(self, *args)File ~/.cache/pypoetry/virtualenvs/ubi.events-engine-94LnMkf1-py3.10/lib/python3.10/site-packages/redis/cluster.py:976, in RedisCluster.determine_slot(self, *args)
974 if command in ("FCALL", "FCALL_RO"):
975 return random.randrange(0, REDIS_CLUSTER_HASH_SLOTS)
--> 976 raise RedisClusterException(
977 "No way to dispatch this command to Redis Cluster. "
978 "Missing key.\nYou can execute the command by specifying "
979 f"target nodes.\nCommand: {args}"
980 )
982 # single key command
983 if len(keys) == 1:
RedisClusterException: No way to dispatch this command to Redis Cluster. Missing key.
You can execute the command by specifying target nodes.
Command: ('XGROUP CREATE', 'test', 'test', '$')
The text was updated successfully, but these errors were encountered:
Describe the bug
The method xgroup_create of the redis cluster client fails when running on redis version 7.0.0.
Using the version 4.2.2 of the python redis client, the python version is 3.10.4, OS is Ubuntu 22.04.
To reproduce
Expected behavior
The method should work just like it did when using the same client version with redis version 6.2.6.
Additional information
This is the output of the python stack trace.
The text was updated successfully, but these errors were encountered: