Skip to content

Sentinel.execute_command doesn't execute across the entire sentinel cluster #2458

Closed
@SyedTahaA

Description

@SyedTahaA

Version: 4.3.4

Platform: Python 3.8.10 on Ubuntu 20.04

Description: When the once argument isn't given or is set to false, the Sentinel.execute_command doesn't execute across the sentinel cluster like the documentation suggests.

image

For example,

when I connect to a sentinel cluster with two sentinels, and run the execute_command, only one of the sentinels receive the command.

image

Sentinel 1 logs (doesn't receive RESET command)

image

Sentinel 2 logs (receives RESET command)

image

It also seems like if the once argument is set to True, then instead of executing the command on just 1 random sentinel, the command is executed across the cluster.

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