refactor: adjust sync hb

This commit is contained in:
Shengliang Guan 2022-11-07 23:32:04 +08:00
parent 05d0a0fe30
commit 29f8878519
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}