Merge branch 'main' of https://github.com/taosdata/TDengine into fix/TD-25071
This commit is contained in:
commit
b2d41ce907
|
@ -2557,6 +2557,9 @@ static int32_t tmqGetWalInfoCb(void* param, SDataBuf* pMsg, int32_t code) {
|
|||
}
|
||||
|
||||
static void destroyCommonInfo(SMqVgCommon* pCommon) {
|
||||
if(pCommon == NULL){
|
||||
return;
|
||||
}
|
||||
taosArrayDestroy(pCommon->pList);
|
||||
tsem_destroy(&pCommon->rsp);
|
||||
taosThreadMutexDestroy(&pCommon->mutex);
|
||||
|
|
|
@ -104,7 +104,7 @@ STqOffsetStore* tqOffsetOpen(STQ* pTq) {
|
|||
pStore->needCommit = 0;
|
||||
pTq->pOffsetStore = pStore;
|
||||
|
||||
pStore->pHash = taosHashInit(64, MurmurHash3_32, true, HASH_NO_LOCK);
|
||||
pStore->pHash = taosHashInit(64, MurmurHash3_32, true, HASH_ENTRY_LOCK);
|
||||
if (pStore->pHash == NULL) {
|
||||
taosMemoryFree(pStore);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue