yiguolei commented on code in PR #49884:
URL: https://github.com/apache/doris/pull/49884#discussion_r2052169905


##########
fe/fe-core/src/main/java/org/apache/doris/common/publish/TopicPublisherThread.java:
##########
@@ -143,14 +142,13 @@ public void run() {
                     Map<TTopicInfoType, List<TopicInfo>> topicMap = 
copiedRequest.getTopicMap();
                     List<TopicInfo> topicInfoList = 
topicMap.get(TTopicInfoType.WORKLOAD_GROUP);
                     if (topicInfoList != null) {
-                        Set<String> beTagSet = be.getBeWorkloadGroupTagSet();
+                        String beComputeGroup = be.getComputeGroup();
                         Iterator<TopicInfo> topicIter = 
topicInfoList.iterator();
                         while (topicIter.hasNext()) {
                             TopicInfo topicInfo = topicIter.next();
                             if (topicInfo.isSetWorkloadGroupInfo()) {
                                 TWorkloadGroupInfo tWgInfo = 
topicInfo.getWorkloadGroupInfo();
-                                if (tWgInfo.isSetTag() && 
!Backend.isMatchWorkloadGroupTag(
-                                        tWgInfo.getTag(), beTagSet)) {
+                                if (tWgInfo.isSetTag() && 
!tWgInfo.getTag().equals(beComputeGroup)) {

Review Comment:
   我们的workload group 为啥还需要tag?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to