enh: refact syncEnv code

This commit is contained in:
Shengliang Guan 2022-10-31 23:45:17 +08:00
parent 9bc48e2658
commit 91abd170e3
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ int64_t syncNodeAdd(SSyncNode *pNode) {
if (pNode->rid < 0) return -1;
sDebug("vgId:%d, sync rid:%" PRId64 " is added to rsetId:%d", pNode->vgId, pNode->rid, gNodeRefId);
return 0;
return pNode->rid;
}
void syncNodeRemove(SSyncNode *pNode) {