refact task backend
This commit is contained in:
parent
f49a2cbeb0
commit
bffa6387fe
|
@ -1792,12 +1792,12 @@ _end:
|
||||||
taosWLockLatch(&pMeta->lock);
|
taosWLockLatch(&pMeta->lock);
|
||||||
|
|
||||||
terrno = 0;
|
terrno = 0;
|
||||||
int32_t code = streamMetaReopen(pMeta, 0);
|
// int32_t code = streamMetaReopen(pMeta, 0);
|
||||||
if (code != 0) {
|
// if (code != 0) {
|
||||||
tqError("vgId:%d failed to reopen stream meta", vgId);
|
// tqError("vgId:%d failed to reopen stream meta", vgId);
|
||||||
taosWUnLockLatch(&pMeta->lock);
|
// taosWUnLockLatch(&pMeta->lock);
|
||||||
return -1;
|
// return -1;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (streamMetaLoadAllTasks(pTq->pStreamMeta) < 0) {
|
if (streamMetaLoadAllTasks(pTq->pStreamMeta) < 0) {
|
||||||
tqError("vgId:%d failed to load stream tasks", vgId);
|
tqError("vgId:%d failed to load stream tasks", vgId);
|
||||||
|
|
Loading…
Reference in New Issue