This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new ab2d535e54 The node ID under serial is greater than the current ID.
(#9820)
ab2d535e54 is described below
commit ab2d535e5451ea05b0da89865176b6612e3d2994
Author: WangJPLeo <[email protected]>
AuthorDate: Thu Apr 28 11:00:33 2022 +0800
The node ID under serial is greater than the current ID. (#9820)
Co-authored-by: WangJPLeo <[email protected]>
---
.../org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
index 8910bf0532..2e49ce9b5b 100644
---
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
+++
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessInstanceMapper.xml
@@ -250,8 +250,8 @@
from t_ds_process_instance
where process_definition_code=#{processDefinitionCode}
and state = #{state}
- and id <![CDATA[ < ]]> #{id}
- order by id desc limit 1
+ and id <![CDATA[ > ]]> #{id}
+ order by id asc limit 1
</select>
<update id="updateGlobalParamsById">
update t_ds_process_instance