Alter workload group queue prop sync for regression test (#30869)
This commit is contained in:
@ -333,6 +333,10 @@ public class WorkloadGroupMgr implements Writable, GsonPostProcessable {
|
||||
checkGlobalUnlock(newWorkloadGroup, currentWorkloadGroup);
|
||||
nameToWorkloadGroup.put(workloadGroupName, newWorkloadGroup);
|
||||
idToWorkloadGroup.put(newWorkloadGroup.getId(), newWorkloadGroup);
|
||||
// NOTE: used for regression test query queue
|
||||
if (Config.enable_alter_queue_prop_sync) {
|
||||
resetQueryQueueProp();
|
||||
}
|
||||
Env.getCurrentEnv().getEditLog().logAlterWorkloadGroup(newWorkloadGroup);
|
||||
} finally {
|
||||
writeUnlock();
|
||||
|
||||
Reference in New Issue
Block a user