Searched refs:CLUSTER_NODE_MASTER (Results 1 – 3 of 3) sorted by relevance
50 #define CLUSTER_NODE_MASTER 1 /* The node is a master */ macro62 #define nodeIsMaster(n) ((n)->flags & CLUSTER_NODE_MASTER)
193 n->flags |= CLUSTER_NODE_MASTER; in clusterLoadConfig()465 createClusterNode(NULL,CLUSTER_NODE_MYSELF|CLUSTER_NODE_MASTER); in clusterInit()1511 n->flags |= CLUSTER_NODE_MASTER; in clusterSetNodeAsMaster()1820 link->node->flags |= flags&(CLUSTER_NODE_MASTER|CLUSTER_NODE_SLAVE); in clusterProcessPacket()1897 sender->flags &= ~(CLUSTER_NODE_MASTER| in clusterProcessPacket()3937 myself->flags &= ~(CLUSTER_NODE_MASTER|CLUSTER_NODE_MIGRATE_TO); in clusterSetMaster()3961 {CLUSTER_NODE_MASTER, "master,"},
4222 if (node->flags & CLUSTER_NODE_MASTER && node->slaveof) in RM_GetClusterNodeInfo()4234 if (node->flags & CLUSTER_NODE_MASTER) *flags |= REDISMODULE_NODE_MASTER; in RM_GetClusterNodeInfo()