Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CLUSTER INFO command and use it for new checkedConnectCluster #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 8, 2022

  1. add CLUSTER INFO command and use it for new checkedConnectCluster

    Redis nodes in cluster mode can be pinged, but a successful pong from one
    cluster node would not determine whether the cluster and thus all its nodes are
    up and running. The cluster is up only if the `CLUSTER INFO` command reports
    `cluster_state:ok`.
    
    This PR adds the `CLUSTER INFO` command and the `checkedConnectCluster` helper
    function for safely connecting to Redis clusters only when the cluster is up.
    stefanwire committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    741dda6 View commit details
    Browse the repository at this point in the history