-
Notifications
You must be signed in to change notification settings - Fork 5k
[Improvement-16767] Takeover sub-workflow in sub-workflow-task #17153
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
[Improvement-16767] Takeover sub-workflow in sub-workflow-task #17153
Conversation
...heduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.java
Show resolved
Hide resolved
...o/src/main/java/org/apache/dolphinscheduler/dao/repository/impl/WorkflowInstanceDaoImpl.java
Show resolved
Hide resolved
...heduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.java
Show resolved
Hide resolved
...ler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/WorkflowInstanceMapper.xml
Show resolved
Hide resolved
ruanwenjun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I will improve the BaseDao to reduce the method number.
| private List<WorkflowInstanceRelation> workflowInstanceRelations; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this used? please initialized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
...va/org/apache/dolphinscheduler/server/master/integration/WorkflowTestCaseContextFactory.java
Outdated
Show resolved
Hide resolved
ruanwenjun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, wait the CI pass.
|
SbloodyS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1


Purpose of the pull request
close #16767
Brief change log
Verify this pull request
This change added tests and can be verified as follows:
Added take-over sub-workflow in WorkflowInstanceFailoverTestCase.
@ruanwenjun