Skip to content

If the task processor is not found need to throw error rather than exception#11461

Merged
lenboo merged 1 commit intoapache:devfrom
ruanwenjun:dev_wenjun_FixTaskStateHandleError
Aug 13, 2022
Merged

If the task processor is not found need to throw error rather than exception#11461
lenboo merged 1 commit intoapache:devfrom
ruanwenjun:dev_wenjun_FixTaskStateHandleError

Conversation

@ruanwenjun
Copy link
Copy Markdown
Member

Purpose of the pull request

If active task processor has been removed, we need to throw error, and drop the event, rather than retry

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 added this to the 3.0.1 milestone Aug 13, 2022
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 13, 2022

Codecov Report

Merging #11461 (e5a22dc) into dev (e3c6ace) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev   #11461      +/-   ##
============================================
- Coverage     39.55%   39.36%   -0.20%     
- Complexity     4628     4630       +2     
============================================
  Files           980      987       +7     
  Lines         37282    37568     +286     
  Branches       4180     4184       +4     
============================================
+ Hits          14747    14787      +40     
- Misses        20987    21228     +241     
- Partials       1548     1553       +5     
Impacted Files Coverage Δ
...ler/server/master/event/TaskStateEventHandler.java 0.00% <0.00%> (ø)
...ache/impl/ProcessInstanceExecCacheManagerImpl.java 71.42% <0.00%> (-11.91%) ⬇️
...r/plugin/registry/zookeeper/ZookeeperRegistry.java 43.54% <0.00%> (-5.11%) ⬇️
...r/server/master/registry/MasterRegistryClient.java 42.46% <0.00%> (-1.84%) ⬇️
...r/server/master/service/MasterFailoverService.java 52.71% <0.00%> (-1.76%) ⬇️
...r/plugin/task/sqoop/parameter/SqoopParameters.java 55.12% <0.00%> (-1.29%) ⬇️
...e/dolphinscheduler/remote/NettyRemotingClient.java 52.08% <0.00%> (-0.70%) ⬇️
.../server/master/runner/StateWheelExecuteThread.java 0.40% <0.00%> (-0.01%) ⬇️
.../org/apache/dolphinscheduler/common/Constants.java 78.26% <0.00%> (ø)
...e/dolphinscheduler/server/master/MasterServer.java 0.00% <0.00%> (ø)
... and 35 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Copy Markdown
Contributor

@lenboo lenboo left a comment

Choose a reason for hiding this comment

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

+1

@lenboo lenboo merged commit 4362fb8 into apache:dev Aug 13, 2022
caishunfeng pushed a commit to caishunfeng/dolphinscheduler that referenced this pull request Aug 18, 2022
caishunfeng pushed a commit to caishunfeng/dolphinscheduler that referenced this pull request Aug 18, 2022
ruanwenjun added a commit to ruanwenjun/dolphinscheduler that referenced this pull request Sep 17, 2022
caishunfeng pushed a commit that referenced this pull request Sep 17, 2022
@caishunfeng caishunfeng added the release cherry-pick Mark this issue/PR had cherry-pick for release version label Sep 17, 2022
xdu-chenrj pushed a commit to xdu-chenrj/dolphinscheduler that referenced this pull request Oct 13, 2022
@ruanwenjun ruanwenjun deleted the dev_wenjun_FixTaskStateHandleError branch November 13, 2022 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend release cherry-pick Mark this issue/PR had cherry-pick for release version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants