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/09/27 13:54:22 UTC

[GitHub] [dolphinscheduler] DarkAssassinator opened a new issue, #12170: [Bug] [Worker] Different clocks will result in delayed execution of tasks

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

   ### 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
   
   If the worker's clock early than master's clock, it will cause task delay.
   For example:
   Master: 12:00
   Worker: 11:58
   Then all task will delay `≈2min`.
   Why?
   Because `usedTime` will be a negative number. So `remainTime` > 0
   ![image](https://user-images.githubusercontent.com/20518339/192544550-1bf3a400-2164-4beb-94b0-ff351f3384df.png)
   
   
   ### What you expected to happen
   
   Task no delay.
   Because there may indeed be different servers configured with different clock sources
   
   ### How to reproduce
   
   Just make Worker server's clock early than Master 
   
   ### Anything else
   
   There is another problem here, what to do if the server exaggerates the time zone :question: 
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] 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] github-actions[bot] commented on issue #12170: [Bug] [Worker] Different clocks will result in delayed execution of tasks

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

   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


[GitHub] [dolphinscheduler] EricGao888 closed issue #12170: [Bug] [Worker] Different clocks will result in delayed execution of tasks

Posted by GitBox <gi...@apache.org>.
EricGao888 closed issue #12170: [Bug] [Worker] Different clocks will result in delayed execution of tasks
URL: https://github.com/apache/dolphinscheduler/issues/12170


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