代码拉取完成,页面将自动刷新
1577
fix issue:[1.3.0][Resource Group] DistributedResourceGroupTemp cast exception with openlookeng HA
开启的
What type of PR is this?
/kind bug
Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind bug /kind task /kind feature
What does this PR do / why do we need it:
Which issue(s) this PR fixes:
#I4DZKT:[1.3.0][Resource Group] DistributedResourceGroupTemp cast exception with openlookeng HA
Fixes #
Special notes for your reviewers:
不开启HA,root BaseResourceGroup的实现类为InternalResourceGroup,subGroup 为InternalResourceGroup;
开启HA后,root BaseResourceGroup的实现类为 DistributedResourceGroupTemp,subGroup为DistributedResourceGroupTemp,此时调用internalGenerateCpuQuote方法时,第686行,subGroups内的对象应该为DistributedResourceGroupTemp,而不是InternalResourceGroup