Update schUtil.c

This commit is contained in:
Pan Wei 2024-09-01 18:09:11 +08:00 committed by GitHub
parent f44d9f01f7
commit 127fd3bdd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ int32_t schUpdateHbConnection(SQueryNodeEpId *epId, SSchTrans *trans) {
hb = taosHashGet(schMgmt.hbConnections, epId, sizeof(SQueryNodeEpId)); hb = taosHashGet(schMgmt.hbConnections, epId, sizeof(SQueryNodeEpId));
if (NULL == hb) { if (NULL == hb) {
SCH_UNLOCK(SCH_READ, &schMgmt.hbLock); SCH_UNLOCK(SCH_READ, &schMgmt.hbLock);
atomic_add_fetch_64(&schMgmt.stat.runtime.hbConnNotFound, 1); (void)atomic_add_fetch_64(&schMgmt.stat.runtime.hbConnNotFound, 1);
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
} }