not do chkp when pbackend not inited
This commit is contained in:
parent
bf3bfa4d66
commit
5189f3d15b
|
@ -425,6 +425,9 @@ int32_t streamTaskUploadChkp(SStreamTask* pTask, int64_t chkpId, char* taskId) {
|
|||
if (type == UPLOAD_DISABLE) {
|
||||
return 0;
|
||||
}
|
||||
if (pTask->pBackend == NULL) {
|
||||
return 0;
|
||||
}
|
||||
SAsyncUploadArg* arg = taosMemoryCalloc(1, sizeof(SAsyncUploadArg));
|
||||
arg->type = type;
|
||||
arg->taskId = taosStrdup(taskId);
|
||||
|
|
Loading…
Reference in New Issue