[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:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user