This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 283abf6b87 [INLONG-8773][Manager] Logically delete agent task when 
heartbeat contains no group and template_id is not null (#8774)
283abf6b87 is described below

commit 283abf6b877e859b098b5395021d2526af40643a
Author: kipshi <[email protected]>
AuthorDate: Mon Aug 21 18:24:46 2023 +0800

    [INLONG-8773][Manager] Logically delete agent task when heartbeat contains 
no group and template_id is not null (#8774)
    
    Co-authored-by: kipshi <[email protected]>
---
 .../manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml
 
b/inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml
index d927608c57..975ae6dc26 100644
--- 
a/inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml
+++ 
b/inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml
@@ -587,6 +587,7 @@
         </set>
         where is_deleted = 0
         and agent_ip = #{agentIp, jdbcType=VARCHAR}
+        and template_id is not null
         <if test="targetStatus != null">
             and status = #{targetStatus, jdbcType=INTEGER}
         </if>

Reply via email to