quanzhian opened a new issue #5917:
URL: https://github.com/apache/dolphinscheduler/issues/5917
**bug描述**
前端点击运行一个工作流,2台master服务同时读取到了command表的同一条命令数据,并同时起了2个相同实例去运行这个工作流
**排查原因**
先查看了api-server的日志,发现只有一次请求(怀疑是否连续点击出现的,经过排查排除该原因)
然后查了2个master的日志,发现同一时间(相差2毫秒级别)同一条command数据被2个master都读取到了
以下是第一台master-server的日志
[INFO] 2021-07-29 15:43:15.022
org.apache.dolphinscheduler.server.master.runner.MasterSchedulerService:[145] -
find one command: id: 4761, type: START_PROCESS
以下是第二台master-server的日志
[INFO] 2021-07-29 15:43:15.020
org.apache.dolphinscheduler.server.master.runner.MasterSchedulerService:[145] -
find one command: id: 4761, type: START_PROCESS
2台master-server都做了分发,导致同一时间创建了2条工作流实例去运行!
**Which version of Dolphin Scheduler:**
-[1.3.6]
--
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]