You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/07/04 02:59:33 UTC
[GitHub] [dolphinscheduler] ruanwenjun commented on a diff in pull request #10754: [Feature][Master] Failover workflow instance base on priority
ruanwenjun commented on code in PR #10754:
URL: https://github.com/apache/dolphinscheduler/pull/10754#discussion_r912592902
##########
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml:
##########
@@ -44,7 +44,7 @@
<foreach collection="states" item="i" open="(" close=")" separator=",">
#{i}
</foreach>
- order by id asc
+ order by process_instance_priority, id asc
Review Comment:
I think we don't need to change this part, we need to set the processInstance's priority in to failover command is enough. if you query by priority here, you still need to set the priority of command.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org