Merge pull request #18619 from taosdata/fix/sync-duplicate

fix(sync): delete duplicate code
This commit is contained in:
Shengliang Guan 2022-12-01 18:19:12 +08:00 committed by GitHub
commit 28e22e4276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -2558,10 +2558,6 @@ int32_t syncNodeOnHeartbeatReplyOld(SSyncNode* ths, const SRpcMsg* pRpcMsg) {
char tbuf[40] = {0};
TRACE_TO_STR(trace, tbuf);
const STraceId* trace = &pRpcMsg->info.traceId;
char tbuf[40] = {0};
TRACE_TO_STR(trace, tbuf);
int64_t tsMs = taosGetTimestampMs();
int64_t timeDiff = tsMs - pMsg->timeStamp;
syncLogRecvHeartbeatReply(ths, pMsg, timeDiff, tbuf);