cache/apply: use tsdb's flushState as ud

This commit is contained in:
Minglei Jin 2023-06-15 17:07:56 +08:00
parent c56f29c031
commit 9d6a22e35e
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ int32_t tsdbCacheCommit(STsdb *pTsdb) {
taosThreadMutexLock(&pTsdb->lruMutex); taosThreadMutexLock(&pTsdb->lruMutex);
taosLRUCacheApply(pCache, tsdbCacheFlushDirty, wb); taosLRUCacheApply(pCache, tsdbCacheFlushDirty, &pTsdb->flushState);
rocksMayWrite(pTsdb, true, false, true); rocksMayWrite(pTsdb, true, false, true);
rocksMayWrite(pTsdb, true, true, true); rocksMayWrite(pTsdb, true, true, true);