rfyu commented on code in PR #3113:
URL: https://github.com/apache/amoro/pull/3113#discussion_r1740843877
##########
amoro-ams/amoro-ams-server/src/main/java/org/apache/amoro/server/table/TableRuntime.java:
##########
@@ -409,7 +409,7 @@ private boolean updateConfigInternal(Map<String, String>
properties) {
}
public void addTaskQuota(TaskRuntime.TaskQuota taskQuota) {
- doAs(OptimizingMapper.class, mapper -> mapper.insertTaskQuota(taskQuota));
+ doAsAlone(OptimizingMapper.class, mapper ->
mapper.insertTaskQuota(taskQuota));
Review Comment:
thanks for your suggestion. It is acceptable to handle it using the same
transaction. I will make the necessary modifications accordingly.
--
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]