jackyyyyyssss opened a new pull request, #15290:
URL: https://github.com/apache/dolphinscheduler/pull/15290

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are 
happy that you want to help us improve DolphinScheduler! -->
   
   ## Purpose of the pull request
   If there is only one work and the available resources are very low, the 
heartbeat will result in no available work Dispatcher method reporting an 
error, and calling addDispatchFailedEvent will result in an empty starttime. In 
this case, the task is actually a failure. When querying failed tasks in the 
foreground, the count is incorrect because the starttime is empty
   
![image](https://github.com/apache/dolphinscheduler/assets/127465317/cc842402-25dd-430c-86e9-59203e6b29f6)
   
![image](https://github.com/apache/dolphinscheduler/assets/127465317/1a320954-4180-4cb5-a526-eb8237c048b9)
   
   
   
   <!--(For example: This pull request adds checkstyle plugin).-->
   
   ## Brief change log
   
   <!--*(for example:)*
   - *Add maven-checkstyle-plugin to root pom.xml*
   -->
   
   ## Verify this pull request
   
   <!--*(Please pick either of the following options)*-->
   
   This pull request is code cleanup without any test coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please 
describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   <!--*(example:)*
   - *Added dolphinscheduler-dao tests for end-to-end.*
   - *Added CronUtilsTest to verify the change.*
   - *Manually verified the change by testing locally.* -->
   
   (or)
   
   If your pull request contain incompatible change, you should also add it to 
`docs/docs/en/guide/upgrede/incompatible.md`
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to