Skip to content

execute_command() behaves strangely in cluster mode #2095

Closed
@suxb201

Description

@suxb201

Version: redis==4.2.2
Platform: MacOS with python==3.10
Description: execute_command behaves strangely in cluster mode.

run no-key command:

# works fine
rc.cluster_info()
rc.execute_command("CLUSTER INFO")

# RedisClusterException: No way to dispatch this command to Redis Cluster. Missing key.
rc.execute_command("CLUSTER", "INFO")
rc.execute_command("cluster info")
rc.execute_command("cluster", "info")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions