提交 35820461 编写于 作者: H Hongze Cheng

fix coredump

上级 3099ec31
......@@ -195,7 +195,7 @@ static int32_t tsdbSnapReadFileSetOpenIter(STsdbSnapReader* reader) {
code = tsdbIterMergerOpen(reader->dataIterArr, &reader->dataIterMerger, false);
TSDB_CHECK_CODE(code, lino, _exit);
code = tsdbIterMergerOpen(reader->tombIterArr, &reader->dataIterMerger, true);
code = tsdbIterMergerOpen(reader->tombIterArr, &reader->tombIterMerger, true);
TSDB_CHECK_CODE(code, lino, _exit);
_exit:
......
......@@ -677,7 +677,6 @@ void vnodeUpdateMetaRsp(SVnode *pVnode, STableMetaRsp *pMetaRsp) {
pMetaRsp->precision = pVnode->config.tsdbCfg.precision;
}
extern int32_t vnodeAsyncRetention(SVnode *pVnode, int64_t now);
extern int32_t vnodeSyncRetention(SVnode *pVnode, int64_t now);
static int32_t vnodeProcessTrimReq(SVnode *pVnode, int64_t ver, void *pReq, int32_t len, SRpcMsg *pRsp) {
......@@ -717,7 +716,7 @@ static int32_t vnodeProcessDropTtlTbReq(SVnode *pVnode, int64_t ver, void *pReq,
tqUpdateTbUidList(pVnode->pTq, tbUids, false);
}
vnodeAsyncRetention(pVnode, ttlReq.timestampSec);
vnodeSyncRetention(pVnode, ttlReq.timestampSec);
end:
taosArrayDestroy(tbUids);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册