Merge pull request #28177 from taosdata/enh/remove_error_log_hz

Enh/remove_error_log_hz
This commit is contained in:
Hongze Cheng 2024-09-29 15:57:32 +08:00 committed by GitHub
commit e574f81f00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ void vnodeRedirectRpcMsg(SVnode *pVnode, SRpcMsg *pMsg, int32_t code) {
if (rsp.pCont == NULL) {
pMsg->code = TSDB_CODE_OUT_OF_MEMORY;
} else {
if (tSerializeSEpSet(rsp.pCont, contLen, &newEpSet) != 0) {
if (tSerializeSEpSet(rsp.pCont, contLen, &newEpSet) < 0) {
vError("vgId:%d, failed to serialize ep set", pVnode->config.vgId);
}
rsp.contLen = contLen;