Version: 5.0.0
Platform: Python 3.10 on MacOS 13
Description:
The following code does not work:
client = redis.RedisCluster()
pipe = client.pipeline()
pipe.evalsha(sha, 0)
pipe.execute()
redis.exceptions.RedisClusterException: ERROR: Calling pipelined function evalsha is blocked when running redis in cluster mode...
Why is this disallowed? AFAICT this should work fine if the scripts are loaded. It's disallowed in redis/cluster.py in PIPELINE_BLOCKED_COMMANDS, but no reason is documented.
Version: 5.0.0
Platform: Python 3.10 on MacOS 13
Description:
The following code does not work:
redis.exceptions.RedisClusterException: ERROR: Calling pipelined function evalsha is blocked when running redis in cluster mode...Why is this disallowed? AFAICT this should work fine if the scripts are loaded. It's disallowed in
redis/cluster.pyinPIPELINE_BLOCKED_COMMANDS, but no reason is documented.