TD-353
This commit is contained in:
parent
678a7f4ea7
commit
8bcefa8d50
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue