fix(stream): reset the init ts.

This commit is contained in:
Haojun Liao 2023-09-11 13:50:55 +08:00
parent c729fc989f
commit 3b79ab3266
1 changed files with 2 additions and 1 deletions

View File

@ -503,8 +503,9 @@ int32_t streamTaskStop(SStreamTask* pTask) {
taosMsleep(100);
}
pTask->tsInfo.init = 0;
int64_t el = taosGetTimestampMs() - st;
qDebug("vgId:%d s-task:%s is closed in %" PRId64 " ms", pMeta->vgId, pTask->id.idStr, el);
qDebug("vgId:%d s-task:%s is closed in %" PRId64 " ms, and reset init ts", pMeta->vgId, pTask->id.idStr, el);
return 0;
}