You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/12/28 09:03:35 UTC

[GitHub] [dolphinscheduler] caishunfeng commented on a change in pull request #7672: [Fix-7654]Dependent node onChangeProjectCode error

caishunfeng commented on a change in pull request #7672:
URL: https://github.com/apache/dolphinscheduler/pull/7672#discussion_r775799555



##########
File path: dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
##########
@@ -1102,9 +1104,13 @@ private String recursionProcessDefinitionName(long projectCode, String processDe
             putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, codes);
             return result;
         }
+        HashMap<Long, Project> userProjects =  new HashMap(Constants.DEFAULT_HASH_MAP_SIZE);

Review comment:
       It's better to set the map size by db query result.  




-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org