You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "reele (via GitHub)" <gi...@apache.org> on 2025/04/25 09:39:12 UTC
Re: [I] [Bug] [TaskExecutionRunnable] Sub workflow task always repeat run in master-server failover [dolphinscheduler]
reele commented on issue #16767:
URL: https://github.com/apache/dolphinscheduler/issues/16767#issuecomment-2829905483
@ruanwenjun
In dev branch now, there's a better way to takeover sub-workflow task in failover, i made a branch to implement:
https://github.com/apache/dolphinscheduler/compare/dev...reele:fix-takeover-workflow-in-failover?expand=1
after refactored `TaskExecutorClient`, takeover is called before initializeTaskExecutionContext, so there should only check workflow instance in takeover, and put the `TaskExecutor` to `taskExecutorRepository` in `TaskEngine`, and it will work for good.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org