fix invalid cmp
This commit is contained in:
parent
55f1d464ab
commit
2268114c4a
|
@ -916,10 +916,10 @@ int32_t streamBackendDoCheckpoint(void* arg, uint64_t checkpointId) {
|
||||||
qError("stream backend:%p failed to flush db at:%s", pHandle, pChkpIdDir);
|
qError("stream backend:%p failed to flush db at:%s", pHandle, pChkpIdDir);
|
||||||
}
|
}
|
||||||
// release all ref to cfWrapper;
|
// release all ref to cfWrapper;
|
||||||
// for (int i = 0; i < taosArrayGetSize(refs); i++) {
|
for (int i = 0; i < taosArrayGetSize(refs); i++) {
|
||||||
// int64_t id = *(int64_t*)taosArrayGet(refs, i);
|
int64_t id = *(int64_t*)taosArrayGet(refs, i);
|
||||||
// taosReleaseRef(streamBackendCfWrapperId, id);
|
taosReleaseRef(streamBackendCfWrapperId, id);
|
||||||
// }
|
}
|
||||||
if (code == 0) {
|
if (code == 0) {
|
||||||
taosWLockLatch(&pMeta->chkpDirLock);
|
taosWLockLatch(&pMeta->chkpDirLock);
|
||||||
taosArrayPush(pMeta->chkpSaved, &checkpointId);
|
taosArrayPush(pMeta->chkpSaved, &checkpointId);
|
||||||
|
|
Loading…
Reference in New Issue