You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/03/20 08:54:02 UTC

[GitHub] [incubator-inlong] healchow commented on a change in pull request #3253: [INLONG-3252][Manager] Remove repeated-read transaction in the getting source method

healchow commented on a change in pull request #3253:
URL: https://github.com/apache/incubator-inlong/pull/3253#discussion_r830581276



##########
File path: inlong-manager/manager-dao/src/main/resources/mappers/StreamSourceEntityMapper.xml
##########
@@ -434,15 +434,13 @@
     <update id="updateStatus">
         update stream_source
         set previous_status = status,
-            status          = #{nextStatus, jdbcType=INTEGER},
-            modify_time     = modify_time

Review comment:
       In our design, the modify_time field is used to record the user's modification time.
   The system modifies the status should not let the modify_time change.




-- 
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@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org