dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Feature][Scheduler] Avoid locking for self-dependent Process

Open ntupapaya opened this issue 5 years ago • 4 comments

Describe the feature 问题:目前想定义依赖自身的(例如前一日执行)流程时,导致自身死锁。第一次无法运行起来。 解决:1. 希望增加某种判断,当第一次调度执行时,忽略这种依赖。 2. 至少是定时界面上增加一个可选的选项、由人为判断,是否希望阻塞第一次执行。

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

ntupapaya avatar Jan 11 '21 16:01 ntupapaya

目前如果要驱动一个自依赖的流程,对于本身测试开发好的一个流程、上生产导入后只能先禁用依赖组件、手动补数执行被依赖的前一个时段的任务、再启用依赖组件、再上线,非常繁琐笨拙。对于生产使用来说不现实。 这个过程反正也是需要、即使是需要人为选择,还是想一个方便的方式来触发呗

ntupapaya avatar Jan 11 '21 16:01 ntupapaya

I ran into the same problem @ke4qqq @gmcdonald @jbampton @Humbedooh

leeseven1211 avatar Mar 31 '21 06:03 leeseven1211

I quite agree with the proposal

lian773596423 avatar Nov 18 '21 03:11 lian773596423

this feature has implemented in dev branch

davidzollo avatar Jan 04 '22 08:01 davidzollo