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 2022/03/22 11:51:56 UTC

[GitHub] [dolphinscheduler] guoshupei commented on issue #9065: [Bug] [Master] When there is only one task and the submit failed, the state of Process Instance is Incorrect

guoshupei commented on issue #9065:
URL: https://github.com/apache/dolphinscheduler/issues/9065#issuecomment-1075081245


   I have some suggestions for modification:
   - Add remove operation in method of `submitStandByTask` (Figure 1)
   - Replace `processStateChangeHandler` with `stateEvents` in the method of `updateProcessInstanceState` (Figure 2), and I think this is extremely necessary.
   
   ![image](https://user-images.githubusercontent.com/29919212/159475105-631ae2c9-ecf4-42d2-a772-b4ba52ed7ece.png)
   
   
   ![image](https://user-images.githubusercontent.com/29919212/159474870-7e336fa7-9eeb-4f77-a560-166da17c98cc.png)
   


-- 
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