enh: add ASSERT info msg in tsdbStartCommit

This commit is contained in:
Benguang Zhao 2022-11-28 13:48:57 +08:00
parent 5f4fb90f69
commit 8475aaaaf1
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ static int32_t tsdbStartCommit(STsdb *pTsdb, SCommitter *pCommitter) {
int32_t lino = 0;
memset(pCommitter, 0, sizeof(*pCommitter));
ASSERT(pTsdb->mem && pTsdb->imem == NULL);
ASSERT(pTsdb->mem && pTsdb->imem == NULL && "last tsdb commit incomplete");
taosThreadRwlockWrlock(&pTsdb->rwLock);
pTsdb->imem = pTsdb->mem;