Send a FAILOVER_AUTH_ACK message to the specified node. */
| 2924 | |
| 2925 | /* Send a FAILOVER_AUTH_ACK message to the specified node. */ |
| 2926 | void clusterSendFailoverAuth(clusterNode *node) { |
| 2927 | clusterMsg buf[1]; |
| 2928 | clusterMsg *hdr = (clusterMsg*) buf; |
| 2929 | uint32_t totlen; |
| 2930 | |
| 2931 | if (!node->link) return; |
| 2932 | clusterBuildMessageHdr(hdr,CLUSTERMSG_TYPE_FAILOVER_AUTH_ACK); |
| 2933 | totlen = sizeof(clusterMsg)-sizeof(union clusterMsgData); |
| 2934 | hdr->totlen = htonl(totlen); |
| 2935 | clusterSendMessage(node->link,(unsigned char*)buf,totlen); |
| 2936 | } |
| 2937 | |
| 2938 | /* Send a MFSTART message to the specified node. */ |
| 2939 | void clusterSendMFStart(clusterNode *node) { |
no test coverage detected