clusterDoBeforeSleep(CLUSTER_TODO_UPDATE_STATE|CLUSTER_TODO_SAVE_CONFIG); addReply(c,shared.ok); } …… }//槽的添加 int clusterAddSlot(clusterNode *n, int slot) { if (server.cluster->slots[slot]) return C_ERR; clusterNodeSetSlotBit(n,slot);//更新clusterNode的slots server.cluster->slot...
Bug Report Two of the nodes in our cluster were marked as failed on several of the nodes and handshake on the others. These nodes had been replaced with new nodes, so they were gone and never coming back, but not yet forgotten. I expecte...