add config

This commit is contained in:
yihaoDeng 2024-10-09 20:11:21 +08:00
parent 54bae9d592
commit e58f667611
1 changed files with 5 additions and 0 deletions

View File

@ -530,6 +530,11 @@ int32_t loadRemoteDataCallback(void* param, SDataBuf* pMsg, int32_t code) {
int32_t index = pWrapper->sourceIndex;
SSourceDataInfo* pSourceDataInfo = taosArrayGet(pExchangeInfo->pSourceDataInfo, index);
int64_t* pRpcHandle = taosArrayGet(pExchangeInfo->pFetchRpcHandles, index);
asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
*pRpcHandle = -1;
if (!pSourceDataInfo) {
return terrno;
}