Searched refs:numslots (Results 1 – 3 of 3) sorted by relevance
872 def compute_reshard_table(sources,numslots) argument895 if moved.length < numslots1102 if numslots > 01107 if reshard_table.length != numslots1128 dst.info[:balance] += numslots1129 src.info[:balance] -= numslots1157 numslots = opt['slots'].to_i1159 numslots = 01160 while numslots <= 0 or numslots > ClusterHashSlots1162 numslots = STDIN.gets.to_i[all …]
664 node->numslots = 0; in createClusterNode()1187 if (nodeIsSlave(node) || node->numslots == 0) { in clearNodeFailureIfNeeded()1200 if (nodeIsMaster(node) && node->numslots > 0 && in clearNodeFailureIfNeeded()1511 if (newmaster && curmaster->numslots == 0) { in clusterUpdateSlotsConfigWith()2256 (this->link == NULL && this->numslots == 0)) in clusterSendPing()2733 myself->slaveof->numslots == 0) in clusterHandleSlaveFailover()3203 if (okslaves == 0 && node->numslots > 0 && in clusterCron()3381 n->numslots++; in clusterNodeSetSlotBit()3405 if (old) n->numslots--; in clusterNodeClearSlotBit()3519 if (nodeIsMaster(node) && node->numslots) { in clusterUpdateState()[all …]
88 int numslots; /* Number of slots handled by this node */ member