healchow commented on code in PR #7989:
URL: https://github.com/apache/inlong/pull/7989#discussion_r1193565536


##########
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/mapper/StreamSourceEntityMapper.java:
##########
@@ -164,6 +171,21 @@ int updateIpAndUuid(@Param("id") Integer id, 
@Param("agentIp") String agentIp, @
     void updateStatusByIds(@Param("idList") List<Integer> idList, 
@Param("status") Integer status,
             @Param("operator") String operator);
 
+    /**
+     * Update the source status
+     *
+     * @param idList source id list
+     * @param operator operator name
+     */
+    void rollbackTimeoutStatusByIds(@Param("idList") List<Integer> idList, 
@Param("operator") String operator);
+
+    /**
+     * Update the source status when it has been deleted
+     *
+     * @param timeBefore the latest modify time before which to select

Review Comment:
   ```suggestion
        * @param beforeSeconds the modified time was beforeSeconds seconds ago
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to