ruanwenjun commented on code in PR #10677:
URL: https://github.com/apache/dolphinscheduler/pull/10677#discussion_r929992151
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java:
##########
@@ -1788,6 +1788,7 @@ private Map<String, Object> checkParams(User loginUser,
return result;
}
+ @Transactional(rollbackFor = RuntimeException.class)
Review Comment:
`this.doBatchOperateProcessDefinition` will make the `@Transactional`
invalidated, you can hold a reference of ProcessDefinitionServiceImpl and use
the reference to call doBatchOperateProcessDefinition.
--
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]