enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info

This commit is contained in:
wangmm0220 2024-10-22 23:24:39 +08:00
parent 4d26469ac5
commit 94a70c9389
1 changed files with 2 additions and 2 deletions

View File

@ -2344,9 +2344,9 @@ static int32_t tmqWriteBatchMetaDataImpl(TAOS* taos, void* meta, int32_t metaLen
if (taos == NULL || meta == NULL) {
return TSDB_CODE_INVALID_PARA;
}
SMqBatchMetaRsp rsp = {0};
SMqBatchMetaRsp rsp = {0};
SDecoder coder = {0};
int32_t code = TSDB_CODE_SUCCESS;
int32_t code = TSDB_CODE_SUCCESS;
// decode and process req
tDecoderInit(&coder, meta, metaLen);