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/07/08 14:55:43 UTC

[GitHub] [dolphinscheduler] ruanwenjun opened a new issue, #10854: [Bug] [Master] When database restart or close, the workflow instance status will be incorrect.

ruanwenjun opened a new issue, #10854:
URL: https://github.com/apache/dolphinscheduler/issues/10854

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   I find when there is workflowInstance running, and the database restart. The workflow instance's status will be incorrect, it will be running all the time. This is due to when we receive the worker's response, we will update the taskInstance's meta, and  update the database, but when we update database failed, we will not rollback the meta in memory, so the worker send response again, the master will skip the state, due to it think the state has already been handled.
   
   ### What you expected to happen
   
   The master can recover, when database restart.
   
   ### How to reproduce
   
   1. Running 1000 workflowIntsance
   2. Restart database
   3. Find some workflowInstance will always be running
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] ruanwenjun closed issue #10854: [Bug] [Master] When database restart or close, the workflow instance status will be incorrect.

Posted by GitBox <gi...@apache.org>.
ruanwenjun closed issue #10854: [Bug] [Master] When database restart or close, the workflow instance status will be incorrect.
URL: https://github.com/apache/dolphinscheduler/issues/10854


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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10854: [Bug] [Master] When database restart or close, the workflow instance status will be incorrect.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10854:
URL: https://github.com/apache/dolphinscheduler/issues/10854#issuecomment-1179081899

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


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