JinyLeeChina opened a new issue #2634:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2634


   重现步骤:
   1、有两个工作流AA和BB,BB依赖AA。
   2、AA中有test1和test2任务,test2任务依赖test1。
   3、BB中有dependent和test3任务,dependent配置AA的test2,test3依赖dependent。
   4、现在手工运行AA,(test1任务可以配置shell,shell中运行一个test1.sh文件,该文件中可以写个sleep 
60s),在执行worker的终端kill掉该任务(这种情况是手工kill,实际生产中服务器压力大时很有可能被其他服务kill掉)。
   5、此时显示工作流AA运行成功,AA中test1任务kill状态,test2任务没有运行。
   6、手工运行BB,可以看到BB中dependent和test3任务都运行成功。
   
   正确的场景是AA中test1被kill后,AA应该是失败状态而不是成功状态,BB因dependent失败而失败
   
--------------------------------------------------------------------------------------
   Reproduction steps: 
   1. There are two workflows AA and BB, and BB depends on AA.
   2. There are test1 and test2 tasks in AA, and test2 tasks depend on test1.
   3. There are DEPENDENCT and test3 tasks in BB. DEPENDENCT configures test2 
of AA, and test3 depends on the DEPENDENCT.
   4. Now run AA manually (test1 task can configure the shell, and a test1.sh 
file can be run in the shell, and a sleep 60s can be written in the file). Kill 
the task at the terminal executing the worker (in this case, kill manually. In 
actual production, when the server is under great pressure, it is likely to be 
killed by other services).
   5. At this time, the workflow AA runs successfully, the test1 task in AA is 
in kill status, and the test2 task is not running.
   6. Run BB manually, and you can see that the DEPENDENCT and test3 tasks in 
BB run successfully.
   
   I think the correct scenario is that after test1 in AA is killed, AA should 
be in failure state instead of success state. BB fails due to the DEPENDENCT 
failure


----------------------------------------------------------------
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]


Reply via email to