[Fix-10842] Fix master/worker failover will cause status incorrect#10839
Merged
ruanwenjun merged 10 commits intoapache:devfrom Jul 9, 2022
Merged
[Fix-10842] Fix master/worker failover will cause status incorrect#10839ruanwenjun merged 10 commits intoapache:devfrom
ruanwenjun merged 10 commits intoapache:devfrom
Conversation
SbloodyS
reviewed
Jul 7, 2022
...r/src/main/java/org/apache/dolphinscheduler/server/master/service/WorkerFailoverService.java
Show resolved
Hide resolved
a27366f to
be47c1c
Compare
3d0c3be to
9f8e2bb
Compare
Member
Author
|
@caishunfeng This PR is ready to review, please take a look. |
caishunfeng
reviewed
Jul 9, 2022
...n/java/org/apache/dolphinscheduler/server/master/dispatch/executor/NettyExecutorManager.java
Show resolved
Hide resolved
caishunfeng
reviewed
Jul 9, 2022
.../src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java
Show resolved
Hide resolved
caishunfeng
reviewed
Jul 9, 2022
.../src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
Show resolved
Hide resolved
.../src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java
Outdated
Show resolved
Hide resolved
| private CuringParamsService curingGlobalParamsService; | ||
|
|
||
| @Autowired | ||
| private ProcessService processService; |
Member
Author
There was a problem hiding this comment.
This used to use transaction in spring, otherwise we need to use SprintContext.getBean like before.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #10839 +/- ##
============================================
- Coverage 40.64% 40.60% -0.04%
Complexity 4827 4827
============================================
Files 913 915 +2
Lines 36358 36436 +78
Branches 4003 4001 -2
============================================
+ Hits 14776 14794 +18
- Misses 20102 20160 +58
- Partials 1480 1482 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Kudos, SonarCloud Quality Gate passed! |
hstdream
pushed a commit
to hstdream/dolphinscheduler
that referenced
this pull request
Jul 9, 2022
…pache#10839) * Fix master failover will not update task instance status * Add some failover log * Fix worker failover will rerun task more than once * Fix workflowInstance failover may rerun already success taskInstance
ruanwenjun
added a commit
to ruanwenjun/dolphinscheduler
that referenced
this pull request
Jul 12, 2022
…correct issue (apache#17) * [Fix-10842] Fix master/worker failover will cause status incorrect (apache#10839) * Fix master failover will not update task instance status * Add some failover log * Fix worker failover will rerun task more than once * Fix workflowInstance failover may rerun already success taskInstance (cherry picked from commit 3f69ec8) * [Fix-10854] Fix database restart may lost task instance status (apache#10866) * Fix database update error doesn't rollback the task instance status * Fix database error may cause workflow dead with running status (cherry picked from commit f639a2e)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Purpose of the pull request
close #10842
Fix master failover may not update task status
Brief change log