[fix](resource-tag) missing resource tag after forwarding to master (#35618)

## Proposed changes

All DDL and DML will be forwarded to Master FE.
And we forgot to set resource tag in ConnectionContext
after forwarding
This commit is contained in:
Mingyu Chen
2024-05-30 10:41:32 +08:00
committed by yiguolei
parent fb9363f042
commit 0ed7dc1081

View File

@ -641,6 +641,9 @@ public abstract class ConnectProcessor {
ctx.setUserVars(userVariableFromThrift(request.getUserVariables()));
}
// set resource tag
ctx.setResourceTags(Env.getCurrentEnv().getAuth().getResourceTags(ctx.qualifiedUser));
ctx.setThreadLocalInfo();
StmtExecutor executor = null;
try {