This commit is contained in:
Shengliang Guan 2020-12-08 14:13:53 +08:00
parent be5940fe7e
commit 20436cd3b2
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ static void mnodeAddTableIntoStable(SSTableObj *pStable, SCTableObj *pCtable) {
atomic_add_fetch_32(&pStable->numOfTables, 1); atomic_add_fetch_32(&pStable->numOfTables, 1);
if (pStable->vgHash == NULL) { if (pStable->vgHash == NULL) {
pStable->vgHash = taosHashInit(64, taosGetDefaultHashFunction(TSDB_DATA_TYPE_INT), true, HASH_NO_LOCK); pStable->vgHash = taosHashInit(64, taosGetDefaultHashFunction(TSDB_DATA_TYPE_INT), true, HASH_ENTRY_LOCK);
mDebug("table:%s, create hash:%p", pStable->info.tableId, pStable->vgHash); mDebug("table:%s, create hash:%p", pStable->info.tableId, pStable->vgHash);
} }