fix(stream): enable the hb to mnode for stream meta when it becomes the leader.

This commit is contained in:
Haojun Liao 2024-01-11 09:20:34 +08:00
parent dcbe963d32
commit 9294c8d4ee
1 changed files with 1 additions and 1 deletions

View File

@ -1287,7 +1287,7 @@ void streamMetaStartHb(SStreamMeta* pMeta) {
int64_t* pRid = taosMemoryMalloc(sizeof(int64_t)); int64_t* pRid = taosMemoryMalloc(sizeof(int64_t));
metaRefMgtAdd(pMeta->vgId, pRid); metaRefMgtAdd(pMeta->vgId, pRid);
*pRid = pMeta->rid; *pRid = pMeta->rid;
// metaHbToMnode(pRid, NULL); metaHbToMnode(pRid, NULL);
} }
void streamMetaResetStartInfo(STaskStartInfo* pStartInfo) { void streamMetaResetStartInfo(STaskStartInfo* pStartInfo) {