From 23b9cfda5b73873ac6d0c27df44bea3f4f452c38 Mon Sep 17 00:00:00 2001 From: zhjc1124 Date: Mon, 12 Aug 2024 03:42:49 +0000 Subject: [PATCH] fix bug of check tenant_id in init_pkt --- deps/oblib/src/rpc/obrpc/ob_rpc_proxy.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deps/oblib/src/rpc/obrpc/ob_rpc_proxy.cpp b/deps/oblib/src/rpc/obrpc/ob_rpc_proxy.cpp index 1382bab3c3..16788450ae 100644 --- a/deps/oblib/src/rpc/obrpc/ob_rpc_proxy.cpp +++ b/deps/oblib/src/rpc/obrpc/ob_rpc_proxy.cpp @@ -184,8 +184,7 @@ int ObRpcProxy::init_pkt( if (0 != get_group_id()) { pkt->set_group_id(get_group_id()); } else if (this_worker().get_group_id() == OBCG_LQ || - (is_user_group(this_worker().get_group_id()) && - (is_virtual_tenant_id(ob_get_tenant_id()) || ob_get_tenant_id() != tenant_id_))) { + (is_user_group(this_worker().get_group_id()) && ob_get_tenant_id() != tenant_id_)) { pkt->set_group_id(0); } else { pkt->set_group_id(this_worker().get_group_id());