Send a FAILOVER_AUTH_ACK message to the specified node. */
| 2866 | |
| 2867 | /* Send a FAILOVER_AUTH_ACK message to the specified node. */ |
| 2868 | void clusterSendFailoverAuth(clusterNode *node) { |
| 2869 | clusterMsg buf[1]; |
| 2870 | clusterMsg *hdr = (clusterMsg*) buf; |
| 2871 | uint32_t totlen; |
| 2872 | |
| 2873 | if (!node->link) return; |
| 2874 | clusterBuildMessageHdr(hdr,CLUSTERMSG_TYPE_FAILOVER_AUTH_ACK); |
| 2875 | totlen = sizeof(clusterMsg)-sizeof(union clusterMsgData); |
| 2876 | hdr->totlen = htonl(totlen); |
| 2877 | clusterSendMessage(node->link,(unsigned char*)buf,totlen); |
| 2878 | } |
| 2879 | |
| 2880 | /* Send a MFSTART message to the specified node. */ |
| 2881 | void clusterSendMFStart(clusterNode *node) { |
no test coverage detected