reele opened a new pull request, #17155: URL: https://github.com/apache/dolphinscheduler/pull/17155
<!--Thanks very much for contributing to Apache DolphinScheduler, we are happy that you want to help us improve DolphinScheduler! --> ## Purpose of the pull request implement #16979 ## Brief change log 1. Refactored `DelayEntry.java`,`PriorityDelayQueue`,`PriorityAndDelayBasedTaskEntry`,`TimeBasedTaskExecutionRunnableComparableEntry` with `TaskDispatchDelayEntryEvent`,`TaskDispatchPriorityEntryEvent`,`AbstractTaskDispatchEntryEvent`,`TaskDispatchEntryEventBus` which inherited from `AbstractDelayEventBus`,`AbstractDelayEvent` 2. Fix `PriorityAndDelayBasedTaskEntry`'s compare issue, old object compare task priority after compare time in millisecond, cause the task priority only affect in same millisecond, now it will compare task priority first, then the create time. ## Verify this pull request the test codes were refactored. ## Pull Request Notice [Pull Request Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md) If your pull request contains incompatible change, you should also add it to `docs/docs/en/guide/upgrade/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]
