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/22 16:27:00 UTC
[GitHub] [incubator-inlong] healchow commented on a change in pull request #3311: [INLONG-3310] Optimize Pessimistic Lock for repository
healchow commented on a change in pull request #3311:
URL: https://github.com/apache/incubator-inlong/pull/3311#discussion_r832373630
##########
File path: inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/source/AbstractStreamSourceOperation.java
##########
@@ -99,8 +102,10 @@ public Integer saveOpt(SourceRequest request, Integer groupStatus, String operat
}
@Override
+ @Transactional(rollbackFor = Throwable.class, propagation = Propagation.NOT_SUPPORTED)
public SourceResponse getById(@NotNull Integer id) {
StreamSourceEntity entity = sourceMapper.selectById(id);
+ log.info("stream entity={}", entity);
Review comment:
There are already exists `LOGGER`.
--
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