Skip to content

Conversation

@ruanwenjun
Copy link
Member

Purpose of the pull request

Fix GlobalTaskDispatchWaitingQueueLooper might be busy when worker is unavaliable

close #16065

Brief change

Verify this pull request

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:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@ruanwenjun ruanwenjun self-assigned this May 25, 2024
@ruanwenjun ruanwenjun added priority:middle improvement make more easy to user or prompt friendly 3.3.0 and removed backend labels May 25, 2024
@ruanwenjun ruanwenjun added this to the 3.3.0 milestone May 25, 2024
@ruanwenjun ruanwenjun requested review from Radeity and rickchengx May 25, 2024 06:54
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addDelayEntry branch from f0852ce to 7ac4297 Compare May 25, 2024 07:11
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addDelayEntry branch 2 times, most recently from a4f5b4c to ec0bef3 Compare May 25, 2024 07:59
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addDelayEntry branch from ec0bef3 to 2269b21 Compare May 25, 2024 08:40
@codecov-commenter
Copy link

codecov-commenter commented May 25, 2024

Codecov Report

Attention: Patch coverage is 57.33333% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 40.67%. Comparing base (af55f94) to head (89a942d).

Current head 89a942d differs from pull request most recent head 298e3da

Please upload reports for the commit 298e3da to get more accurate results.

Files Patch % Lines
...heduler/server/master/runner/queue/DelayEntry.java 52.17% 9 Missing and 2 partials ⚠️
...r/runner/GlobalTaskDispatchWaitingQueueLooper.java 47.05% 7 Missing and 2 partials ⚠️
...rator/BaseTaskExecuteRunnableDispatchOperator.java 0.00% 6 Missing ⚠️
.../server/master/runner/BaseTaskExecuteRunnable.java 73.33% 2 Missing and 2 partials ⚠️
...server/master/runner/queue/PriorityDelayQueue.java 85.71% 1 Missing ⚠️
...cheduler/plugin/task/api/TaskExecutionContext.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #16069      +/-   ##
============================================
- Coverage     40.68%   40.67%   -0.01%     
- Complexity     5231     5242      +11     
============================================
  Files          1381     1382       +1     
  Lines         46010    46023      +13     
  Branches       4920     4921       +1     
============================================
+ Hits          18718    18719       +1     
- Misses        25366    25379      +13     
+ Partials       1926     1925       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanwenjun ruanwenjun requested a review from Radeity May 25, 2024 09:17
Radeity
Radeity previously approved these changes May 25, 2024
Copy link
Member

@Radeity Radeity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ruanwenjun
Copy link
Member Author

No new change, just rebase commit.

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addDelayEntry branch from be3d550 to 298e3da Compare May 27, 2024 11:03
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
58.3% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

@ruanwenjun ruanwenjun merged commit e6c5743 into apache:dev May 27, 2024
@ruanwenjun ruanwenjun deleted the dev_wenjun_addDelayEntry branch May 27, 2024 13:53
@SbloodyS SbloodyS added the DSIP label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.3.0 backend DSIP improvement make more easy to user or prompt friendly priority:middle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DSIP-44] Set a delay time to TaskExecuteRunnable if it dispatched failed

5 participants