refactor: adjust syncLog
This commit is contained in:
parent
a880f22bc6
commit
15d2da13b8
|
@ -133,7 +133,7 @@ int32_t syncNodeOnRequestVote(SSyncNode* ths, const SRpcMsg* pRpcMsg) {
|
||||||
pReply->voteGranted = grant;
|
pReply->voteGranted = grant;
|
||||||
|
|
||||||
// trace log
|
// trace log
|
||||||
syncLogSendRequestVoteReply(ths, pReply, "");
|
syncLogRecvRequestVote(ths, pReply, pReply->voteGranted, "");
|
||||||
syncNodeSendMsgById(&pReply->destId, ths, &rpcMsg);
|
syncNodeSendMsgById(&pReply->destId, ths, &rpcMsg);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue