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

[Fix-8337] [Master] Process instance can not be kill when task is failure and can be retry #8347

Merged
merged 3 commits into from
Feb 19, 2022

Conversation

SbloodyS
Copy link
Member

Purpose of the pull request

fix #8337

@codecov-commenter
Copy link

codecov-commenter commented Feb 11, 2022

Codecov Report

❗ No coverage uploaded for pull request base (2.0.4-prepare@5ec9d1c). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##             2.0.4-prepare    #8347   +/-   ##
================================================
  Coverage                 ?   21.07%           
  Complexity               ?     1589           
================================================
  Files                    ?      536           
  Lines                    ?    22492           
  Branches                 ?     2664           
================================================
  Hits                     ?     4740           
  Misses                   ?    17265           
  Partials                 ?      487           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ec9d1c...2cb5074. Read the comment docs.

@SbloodyS SbloodyS reopened this Feb 16, 2022
@SbloodyS SbloodyS marked this pull request as ready for review February 16, 2022 02:43
@caishunfeng caishunfeng added this to the 2.0.4-release milestone Feb 16, 2022
Copy link
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -134,6 +134,14 @@ private void checkTask4Retry() {
}

for (TaskInstance taskInstance : this.taskInstanceRetryCheckList.values()) {
ProcessInstance processInstance = processService.findProcessInstanceById(taskInstance.getProcessInstanceId());

if (processInstance.getState() == ExecutionStatus.READY_STOP) {
Copy link
Contributor

@lenboo lenboo Feb 18, 2022

Choose a reason for hiding this comment

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

This 'READY_STOP' state will be sent to master from API, so is it necessary to query from the database again?

@sonarcloud
Copy link

sonarcloud bot commented Feb 19, 2022

Copy link
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 21a1d9c into apache:2.0.4-prepare Feb 19, 2022
@SbloodyS SbloodyS deleted the bug_8337 branch February 19, 2022 08:57
@zhongjiajie zhongjiajie removed this from the 2.0.5-release milestone Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants