Skip to content

Determining whether a clusterNode is healthy is confusing #3522

@gangcheng1030

Description

@gangcheng1030

In clusterState.slotSlaveNode, we use !slave.Failing() && !slave.Loading() to determine whether a clusterNode is healthy. However, in clusterState.slotRandomNode and clusterState.slotClosestNode, we use !node.Failing() to determine whether a clusterNode is healthy.

Shouldn't they be consistent?

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