fix restart bug
This commit is contained in:
parent
5e8b11415a
commit
946f6cb87f
|
@ -795,6 +795,7 @@ static int tsdbRestoreInfo(STsdbRepo *pRepo) {
|
|||
for (int i = 1; i < pRepo->config.maxTables; i++) {
|
||||
STable *pTable = pMeta->tables[i];
|
||||
if (pTable == NULL) continue;
|
||||
tsdbSetHelperTable(&rhelper, pTable, pRepo);
|
||||
SCompIdx *pIdx = &(rhelper.curCompIdx);
|
||||
|
||||
if (pIdx->offset > 0 && pTable->lastKey < pIdx->maxKey) pTable->lastKey = pIdx->maxKey;
|
||||
|
|
Loading…
Reference in New Issue