Merge pull request #24879 from taosdata/fix/TD-28765

fix(meta/table): remove cache table dropping
This commit is contained in:
Hongze Cheng 2024-02-26 18:03:51 +08:00 committed by GitHub
commit 048f8ee7c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1008,11 +1008,11 @@ void metaDropTables(SMeta *pMeta, SArray *tbUids) {
} }
tSimpleHashPut(suidHash, &suid, sizeof(tb_uid_t), &nCtbDropped, sizeof(int64_t)); tSimpleHashPut(suidHash, &suid, sizeof(tb_uid_t), &nCtbDropped, sizeof(int64_t));
} }
/*
if (!TSDB_CACHE_NO(pMeta->pVnode->config)) { if (!TSDB_CACHE_NO(pMeta->pVnode->config)) {
tsdbCacheDropTable(pMeta->pVnode->pTsdb, uid, suid, NULL); tsdbCacheDropTable(pMeta->pVnode->pTsdb, uid, suid, NULL);
} }
*/
metaDebug("batch drop table:%" PRId64, uid); metaDebug("batch drop table:%" PRId64, uid);
} }
metaULock(pMeta); metaULock(pMeta);