github-actions[bot] commented on issue #15091: URL: https://github.com/apache/dolphinscheduler/issues/15091#issuecomment-1782631021
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened A dependent task is a task in which multiple (at least two) tasks of the same work stream under the same project are added at the same time. When the dependent task is running, only one of the dependent tasks succeeds and the others fail. ### What you expected to happen dependent task log : *********************************************************************************************************************************** [LOG-PATH]: /opt/module/dolphinscheduler-alone/master-server/logs/20231027/10745038263008_39-408-739.log, [HOST]: Host{address='10.251.196.26:5678', ip='10.251.196.26', port=5678} [INFO] 2023-10-27 17:37:53.923 +0800 - Dependent task submit success [INFO] 2023-10-27 17:37:53.936 +0800 - Add sub dependent check tasks, dependent relation: AND [INFO] 2023-10-27 17:37:53.937 +0800 - Add dependent task: projectName: operate_data_warehouse_prd, workflowName: 医务-mm, taskName: dw_tfd_mm_his_expand_targetday_f, dependentKey: 10745128875872-10745121725408-day-today [INFO] 2023-10-27 17:37:53.938 +0800 - Add dependent task: projectName: operate_data_warehouse_prd, workflowName: 市场-mk, taskName: tfd_mk_crm_channel_record, dependentKey: 10678848777824-10997326536032-day-today [INFO] 2023-10-27 17:37:53.938 +0800 - Add dependent task: projectName: operate_data_warehouse_prd, workflowName: 市场-mk, taskName: tfd_mk_crm_new_guest, dependentKey: 10678848777824-10997333405280-day-today [INFO] 2023-10-27 17:37:53.938 +0800 - Add dependent task: projectName: operate_data_warehouse_prd, workflowName: 市场-mk, taskName: tfd_mk_crm_complaint, dependentKey: 10678848777824-10680068993888-day-today [INFO] 2023-10-27 17:37:53.938 +0800 - Success initialize dependent task parameters, the dependent data is: Fri Oct 27 17:37:53 GMT+08:00 2023 [INFO] 2023-10-27 17:37:58.550 +0800 - dependent item complete, :|| dependentKey: 10678848777824-10997326536032-day-today, result: FAILED, dependentDate: Fri Oct 27 17:37:53 GMT+08:00 2023 [INFO] 2023-10-27 17:37:58.551 +0800 - dependent item complete, :|| dependentKey: 10678848777824-10680068993888-day-today, result: SUCCESS, dependentDate: Fri Oct 27 17:37:53 GMT+08:00 2023 [INFO] 2023-10-27 17:37:58.551 +0800 - dependent item complete, :|| dependentKey: 10678848777824-10997333405280-day-today, result: FAILED, dependentDate: Fri Oct 27 17:37:53 GMT+08:00 2023 [INFO] 2023-10-27 17:37:58.551 +0800 - dependent item complete, :|| dependentKey: 10745128875872-10745121725408-day-today, result: SUCCESS, dependentDate: Fri Oct 27 17:37:53 GMT+08:00 2023 [INFO] 2023-10-27 17:37:58.552 +0800 - Dependent task completed, dependent result: FAILED *********************************************************************************************************************************** The metadata that has been run on the day of the dependent task is as follows: *********************************************************************************************************************************** mysql> select id,name,task_type,state,process_instance_id,submit_time,start_time,end_time from t_ds_task_instance where name in ('tfd_mk_crm_channel_record','tfd_mk_crm_new_guest','tfd_mk_crm_complaint','dw_tfd_mm_his_expand_targetday_f'); +-----+----------------------------------+-----------+-------+---------------------+---------------------+---------------------+---------------------+ | id | name | task_type | state | process_instance_id | submit_time | start_time | end_time | +-----+----------------------------------+-----------+-------+---------------------+---------------------+---------------------+---------------------+ | 701 | dw_tfd_mm_his_expand_targetday_f | SHELL | 7 | 386 | 2023-10-27 16:34:52 | 2023-10-27 16:34:52 | 2023-10-27 16:34:55 | | 703 | dw_tfd_mm_his_expand_targetday_f | SHELL | 7 | 388 | 2023-10-27 16:54:41 | 2023-10-27 16:54:41 | 2023-10-27 16:54:45 | | 710 | dw_tfd_mm_his_expand_targetday_f | SHELL | 7 | 393 | 2023-10-27 17:17:04 | 2023-10-27 17:17:03 | 2023-10-27 17:17:07 | | 724 | tfd_mk_crm_channel_record | SHELL | 7 | 401 | 2023-10-27 17:27:28 | 2023-10-27 17:27:27 | 2023-10-27 17:27:37 | | 731 | tfd_mk_crm_new_guest | SHELL | 7 | 405 | 2023-10-27 17:33:33 | 2023-10-27 17:33:33 | 2023-10-27 17:34:23 | | 737 | tfd_mk_crm_complaint | SHELL | 7 | 407 | 2023-10-27 17:36:34 | 2023-10-27 17:36:33 | 2023-10-27 17:36:33 | +-----+----------------------------------+-----------+-------+---------------------+---------------------+---------------------+---------------------+ 6 rows in set (0.00 sec) ************************************************************************************************************************************ ### How to reproduce Configuring a task depends on multiple tasks under the same work stream of the same project to run in a configuration task ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
