You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/05/29 18:01:53 UTC
[GitHub] [dolphinscheduler] blackberrier commented on issue #5539: [Improvement][Master] Check status of taskInstance from cache
blackberrier commented on issue #5539:
URL: https://github.com/apache/dolphinscheduler/issues/5539#issuecomment-850874044
@CalvinKirs Can I try to make this improvement? First time to claim issue here, getting bit of nervous, hah :)
My idea is as follows:
In `MasterTaskExecThread.java` just get status from `taskInstanceCacheManager`.
In case of worker failure and doing worker tolerance, `ZKMasterClient.java` # `failoverWorker()` method set task status to `ExecutionStatus.NEED_FAULT_TOLERANCE`, and then send `CommandType.TASK_EXECUTE_RESPONSE` command containing the newest task status to master . After master process the command , `MasterTaskExecThread.java` can handle task state rightly.
Maybe my thought is naive, looking forward to your correction.
--
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:
users@infra.apache.org