From 29f88785194792be55247986eab6a5ba6c76b30d Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 7 Nov 2022 23:32:04 +0800 Subject: [PATCH] refactor: adjust sync hb --- source/libs/sync/src/syncMain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/libs/sync/src/syncMain.c b/source/libs/sync/src/syncMain.c index d07b4d8b27..0d7306e4fd 100644 --- a/source/libs/sync/src/syncMain.c +++ b/source/libs/sync/src/syncMain.c @@ -222,7 +222,6 @@ SyncIndex syncMinMatchIndex(SSyncNode* pSyncNode) { int32_t syncBeginSnapshot(int64_t rid, int64_t lastApplyIndex) { SSyncNode* pSyncNode = syncNodeAcquire(rid); if (pSyncNode == NULL) { - terrno = TSDB_CODE_SYN_INTERNAL_ERROR; sError("sync begin snapshot error"); return -1; } -- GitLab