Home
last modified time | relevance | path

Searched refs:CLUSTER_NODE_MASTER (Results 1 – 3 of 3) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dcluster.h50 #define CLUSTER_NODE_MASTER 1 /* The node is a master */ macro
62 #define nodeIsMaster(n) ((n)->flags & CLUSTER_NODE_MASTER)
H A Dcluster.c193 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,"},
H A Dmodule.c4222 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()