提交 9d6a22e3 编写于 作者: M Minglei Jin

cache/apply: use tsdb's flushState as ud

上级 c56f29c0
...@@ -331,7 +331,7 @@ int32_t tsdbCacheCommit(STsdb *pTsdb) { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册