fix(stream): do some refactor.
This commit is contained in:
parent
60fac80345
commit
f57ff96408
|
@ -750,7 +750,8 @@ int32_t streamMetaUnregisterTask(SStreamMeta* pMeta, int64_t streamId, int32_t t
|
||||||
ppTask = (SStreamTask**)taosHashGet(pMeta->pTasksMap, &id, sizeof(id));
|
ppTask = (SStreamTask**)taosHashGet(pMeta->pTasksMap, &id, sizeof(id));
|
||||||
if (ppTask) {
|
if (ppTask) {
|
||||||
pTask = *ppTask;
|
pTask = *ppTask;
|
||||||
ASSERT(pTask->id.taskId == id.taskId && pTask->id.streamId == id.streamId);
|
SStreamTaskId pxId = pTask->id;
|
||||||
|
ASSERT((pxId.taskId == id.taskId) && (pxId.streamId == id.streamId));
|
||||||
|
|
||||||
// it is an fill-history task, remove the related stream task's id that points to it
|
// it is an fill-history task, remove the related stream task's id that points to it
|
||||||
if (pTask->info.fillHistory == 0) {
|
if (pTask->info.fillHistory == 0) {
|
||||||
|
|
Loading…
Reference in New Issue