diff --git a/src/system/detail/src/vnodeShell.c b/src/system/detail/src/vnodeShell.c index 030bd0cdf4dd957732822ccfb9a18adf17e7062c..662c26c5ad9143ed411c67a65dc0dfa1dc578893 100644 --- a/src/system/detail/src/vnodeShell.c +++ b/src/system/detail/src/vnodeShell.c @@ -336,15 +336,6 @@ int vnodeProcessQueryRequest(char *pMsg, int msgLen, SShellObj *pObj) { code = TSDB_CODE_INVALID_TABLE_ID; goto _query_over; } - - SMeterObj* pMeterObj = pVnode->meterList[pSids[i]->sid]; - if (pMeterObj->uid != pSids[i]->uid || pMeterObj->sid != pSids[i]->sid) { // uid/sid not match, error in query msg - dError("qmsg:%p sid/uid mismatch, vid:%d sid:%d id:%s uid:%" ", in msg sid:%d, uid:%lld", pQueryMsg, - pQueryMsg->vnode, pMeterObj->sid, pMeterObj->meterId, pMeterObj->uid, pSids[i]->sid, pSids[i]->uid); - - code = TSDB_CODE_TABLE_ID_MISMATCH; - goto _query_over; - } } // todo optimize for single table query process