diff --git a/packaging/cfg/taos.cfg b/packaging/cfg/taos.cfg index 1c96743381..9d61b0df68 100644 --- a/packaging/cfg/taos.cfg +++ b/packaging/cfg/taos.cfg @@ -58,6 +58,12 @@ # The server and client should have the same socket type. Otherwise, connect will fail. # sockettype udp +# The compressed rpc message, option: +# -1 (no compression) +# 0 (all message compressed), +# > 0 (rpc message body which larger than this value will be compressed) +# compressMsgSize -1 + # RPC re-try timer, millisecond # rpcTimer 300 diff --git a/src/system/detail/src/vnodeRead.c b/src/system/detail/src/vnodeRead.c index 0f9565a3b5..14b50acf45 100644 --- a/src/system/detail/src/vnodeRead.c +++ b/src/system/detail/src/vnodeRead.c @@ -483,13 +483,9 @@ void vnodeFreeQInfo(void *param, bool decQueryRef) { } tfree(pQuery->pGroupbyExpr); - dTrace("QInfo:%p vid:%d sid:%d meterId:%s, QInfo is freed", pQInfo, pObj->vnode, pObj->sid, pObj->meterId); - /* - * destory signature, in order to avoid the query process pass the object - * safety check - */ + //destroy signature, in order to avoid the query process pass the object safety check memset(pQInfo, 0, sizeof(SQInfo)); tfree(pQInfo); }