yangyichao-mango commented on a change in pull request #3519:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/3519#discussion_r471199400
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ResourcesService.java
##########
@@ -87,7 +87,7 @@
* @return create directory result
*/
@Transactional(rollbackFor = RuntimeException.class)
- public Result createDirectory(User loginUser,
+ public synchronized Result createDirectory(User loginUser,
Review comment:
Hi,
We just need make the same dir name synchronized, put synchronized in
function will make createDirectory of this model synchronized, it will cause
bad performance.
Is there better way to fix this bug?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]