提交 8bcefa8d 编写于 作者: H Hongze Cheng

TD-353

上级 678a7f4e
......@@ -371,6 +371,7 @@ static void *tsdbCommitData(void *arg) {
pMem->keyFirst, pMem->keyLast, pMem->numOfRows);
// Create the iterator to read from cache
if (pMem->numOfRows > 0) {
iters = tsdbCreateTableIters(pRepo);
if (iters == NULL) {
tsdbError("vgId:%d failed to create commit iterator since %s", REPO_ID(pRepo), tstrerror(terrno));
......@@ -399,6 +400,7 @@ static void *tsdbCommitData(void *arg) {
goto _exit;
}
}
}
// Commit to update meta file
if (tsdbCommitMeta(pRepo) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册