dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

this workflow is bug , I think it's a very serious problem

Open feiyalun opened this issue 6 years ago • 6 comments

Is I also found a problem, it is a bug, is I have two workflow of a and b, then a workflow Riga, a1 node b work new b1 task dependent nodes, type selection, the chosen today, relying on a1, my situation is such, a workflow, I have the day before the creation of a1 run through a process, and then I run b process, theory should be run failed, but in fact was a success.I am also drunk, similarly I choose the type of b1 yesterday also can run successfully, but the first three days before the election run failed.That logo is faild

feiyalun avatar Mar 23 '20 08:03 feiyalun

i use 1.2.0 version 就是我还发现一个问题, 其实算是一个bug, 就是我有两个工作流a 、b ,然后a工作流里加a1节点, b工作中新增加个b1任务依赖节点,类型选择日,天选今天, 依赖a1, 我测的情况是这样的, a工作流里,我在创建a1前已经当天跑过a流程,然后我运行b流程,理论上应该是跑失败的,但是实际上是成功的。 我也是醉了, 同样我把b1的类型选择昨天也能跑成功, 但是选前三天就跑失败了。 那个标识是faild

feiyalun avatar Mar 23 '20 08:03 feiyalun

i will fix it

zixi0825 avatar Mar 23 '20 08:03 zixi0825

i will fix it

There are many problems here. It is recommended to analyze the code of dependency judgment from a global perspective.

wen-hemin avatar Mar 24 '20 03:03 wen-hemin

Dev development of partners, also found this problem, it is suggested to discuss whether to change, I send email to [email protected], you can discuss it.

------------------ 原始邮件 ------------------ 发件人: "Rubik-W"<[email protected]>; 发送时间: 2020年3月24日(星期二) 中午11:54 收件人: "apache/incubator-dolphinscheduler"<[email protected]>; 抄送: "飞亚伦"<[email protected]>;"Author"<[email protected]>; 主题: Re: [apache/incubator-dolphinscheduler] this workflow is bug , I think it's a very serious problem (#2282)

i will fix it

There are many problems here. It is recommended to analyze the code of dependency judgment from a global perspective.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

feiyalun avatar Mar 24 '20 07:03 feiyalun

Hi,all

What should be the right workflow / task dependencies?

Premise: task A1 in workflow A, task B1 in workflow B, and B1 depends on A1

 Detect the dependency before starting B1, and check if the instance of workflow a exists

if the instance of workflow A does not exist, the direct determination of dependency fails

if instance of workflow A exists , then

Instance of task A1 does not exist

If workflow A is executing, then B1 will wait

If workflow A has ended, the determination of dependency fails

Instance of task A1 exists

If task A1 is executing, then B1 will wait

If task A1 is executed successfully, the dependency is determined to be successful

If task A1 fails to execute, it is judged as dependency failure

------------------ 原始邮件 ------------------ 发件人: "feiyalun"<[email protected]>; 发送时间: 2020年3月24日(星期二) 下午3:10 收件人: "apache/incubator-dolphinscheduler"<[email protected]>; 抄送: "〖子ㄨ系〗"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [apache/incubator-dolphinscheduler] this workflow is bug , I think it's a very serious problem (#2282)

Dev development of partners, also found this problem, it is suggested to discuss whether to change, I send email to [email protected], you can discuss it.

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"Rubik-W"<[email protected]&gt;; 发送时间:&nbsp;2020年3月24日(星期二) 中午11:54 收件人:&nbsp;"apache/incubator-dolphinscheduler"<[email protected]&gt;; 抄送:&nbsp;"飞亚伦"<[email protected]&gt;;"Author"<[email protected]&gt;; 主题:&nbsp;Re: [apache/incubator-dolphinscheduler] this workflow is bug , I think it's a very serious problem (#2282)

i will fix it

There are many problems here. It is recommended to analyze the code of dependency judgment from a global perspective.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

zixi0825 avatar Mar 27 '20 09:03 zixi0825

I think your logic is right and recommend it

------------------ 原始邮件 ------------------ 发件人: "孙朝和"<[email protected]>; 发送时间: 2020年3月27日(星期五) 下午5:22 收件人: "apache/incubator-dolphinscheduler"<[email protected]>; 抄送: "飞亚伦"<[email protected]>;"Author"<[email protected]>; 主题: Re: [apache/incubator-dolphinscheduler] this workflow is bug , I think it's a very serious problem (#2282)

Hi,all

What should be the right workflow / task dependencies?

Premise: task A1 in workflow A, task B1 in workflow B, and B1 depends on A1

&nbsp;Detect the dependency before starting B1, and check if the instance of workflow a exists

if the instance of workflow A does not exist, the direct determination of dependency fails

if instance of workflow A exists , then

Instance of task A1 does not exist

If workflow A is executing, then B1 will wait

If workflow A has ended, the determination of dependency fails

Instance of task A1 exists

If task A1 is executing, then B1 will wait

If task A1 is executed successfully, the dependency is determined to be successful

If task A1 fails to execute, it is judged as dependency failure

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"feiyalun"<[email protected]&gt;; 发送时间:&nbsp;2020年3月24日(星期二) 下午3:10 收件人:&nbsp;"apache/incubator-dolphinscheduler"<[email protected]&gt;; 抄送:&nbsp;"〖子ㄨ系〗"<[email protected]&gt;;"Comment"<[email protected]&gt;; 主题:&nbsp;Re: [apache/incubator-dolphinscheduler] this workflow is bug , I think it's a very serious problem (#2282)

Dev development of partners, also found this problem, it is suggested to discuss whether to change, I send email to [email protected], you can discuss it.

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人:&amp;nbsp;"Rubik-W"<[email protected]&amp;gt;;
发送时间:&amp;nbsp;2020年3月24日(星期二) 中午11:54
收件人:&amp;nbsp;"apache/incubator-dolphinscheduler"<[email protected]&amp;gt;;
抄送:&amp;nbsp;"飞亚伦"<[email protected]&amp;gt;;"Author"<[email protected]&amp;gt;;
主题:&amp;nbsp;Re: [apache/incubator-dolphinscheduler] this workflow is bug , I think it's a very serious problem (#2282)

i will fix it

There are many problems here.
It is recommended to analyze the code of dependency judgment from a global perspective.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

feiyalun avatar Mar 27 '20 09:03 feiyalun