This commit is contained in:
Chungeun Choi 2026-03-20 10:00:20 -07:00 committed by GitHub
commit 8a8feccbd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3757,8 +3757,8 @@ void clusterSendPing(clusterLink *link, int type) {
/* In the gossip section don't include:
* 1) Nodes in HANDSHAKE state.
* 3) Nodes with the NOADDR flag set.
* 4) Disconnected nodes if they don't have configured slots.
* 2) Nodes with the NOADDR flag set.
* 3) Disconnected nodes if they don't have configured slots.
*/
if (this->flags & (CLUSTER_NODE_HANDSHAKE|CLUSTER_NODE_NOADDR) ||
(this->link == NULL && this->numslots == 0))