majin1102 commented on code in PR #2715:
URL: https://github.com/apache/incubator-amoro/pull/2715#discussion_r1554826050


##########
ams/server/src/main/java/com/netease/arctic/server/DefaultOptimizingService.java:
##########
@@ -548,6 +548,7 @@ public void run() {
                           .forEach(task -> retryTask(task, queue)));
           if (isExpired) {
             LOG.info("Optimizer {} has been expired, unregister it", 
keepingTask.getOptimizer());
+            deleteResource(keepingTask.getOptimizer().getResourceId());

Review Comment:
   The createResource() maybe called by user.
   Is it proper that system auto deleting resources managed by user himself?



-- 
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