From 8d110d84ef38db32098973914afcd30a1d5d1ff5 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 17 Dec 2020 11:07:11 +0800 Subject: [PATCH] TD-2428 --- src/sync/src/syncRetrieve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync/src/syncRetrieve.c b/src/sync/src/syncRetrieve.c index a1022c6fa0..d579025ded 100644 --- a/src/sync/src/syncRetrieve.c +++ b/src/sync/src/syncRetrieve.c @@ -99,11 +99,11 @@ static int32_t syncRetrieveFile(SSyncPeer *pPeer) { while (1) { // retrieve file info - syncBuildFileInfo(&fileInfo, pNode->vgId); fileInfo.name[0] = 0; fileInfo.size = 0; fileInfo.magic = (*pNode->getFileInfo)(pNode->vgId, fileInfo.name, &fileInfo.index, TAOS_SYNC_MAX_INDEX, &fileInfo.size, &fileInfo.fversion); + syncBuildFileInfo(&fileInfo, pNode->vgId); sDebug("%s, file:%s info is sent, size:%" PRId64, pPeer->id, fileInfo.name, fileInfo.size); // send the file info -- GitLab