Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fix task might be dispatched even if it has been killed #15662

Merged

Conversation

ruanwenjun
Copy link
Member

Purpose of the pull request

Close #15661

Brief change log

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 Mar 2, 2024
@ruanwenjun ruanwenjun added bug Something isn't working and removed backend labels Mar 2, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_fixKilledTaskWillBeDispatched branch from 22a2b0e to b4a7aba Compare March 2, 2024 12:49
@codecov-commenter
Copy link

codecov-commenter commented Mar 2, 2024

Codecov Report

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

Project coverage is 38.61%. Comparing base (040ab34) to head (dd29f27).

❗ Current head dd29f27 differs from pull request most recent head f111449. Consider uploading reports for the commit f111449 to get more accurate results

Files Patch % Lines
.../master/runner/GlobalTaskDispatchWaitingQueue.java 0.00% 1 Missing ⚠️
...r/runner/GlobalTaskDispatchWaitingQueueLooper.java 85.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15662      +/-   ##
============================================
+ Coverage     38.54%   38.61%   +0.06%     
- Complexity     4783     4791       +8     
============================================
  Files          1316     1316              
  Lines         44968    44969       +1     
  Branches       4816     4817       +1     
============================================
+ Hits          17333    17363      +30     
+ Misses        25755    25724      -31     
- Partials       1880     1882       +2     

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

@ruanwenjun ruanwenjun added this to the 3.2.2 milestone Mar 3, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_fixKilledTaskWillBeDispatched branch 5 times, most recently from aca4f61 to beeb482 Compare March 3, 2024 14:20
Copy link
Contributor

@rickchengx rickchengx 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 ruanwenjun force-pushed the dev_wenjun_fixKilledTaskWillBeDispatched branch from 647c3df to f111449 Compare March 4, 2024 08:54
Copy link

sonarcloud bot commented Mar 4, 2024

@ruanwenjun ruanwenjun merged commit 04a6b0d into apache:dev Mar 4, 2024
56 of 57 checks passed
@ruanwenjun ruanwenjun deleted the dev_wenjun_fixKilledTaskWillBeDispatched branch March 4, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [Master] The task has been killed might still be dispatched
3 participants