LakshSingla commented on code in PR #14235:
URL: https://github.com/apache/druid/pull/14235#discussion_r1190676019


##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/DurableStorageCleaner.java:
##########
@@ -75,66 +72,58 @@ public boolean isEnabled()
   }
 
   @Override
-  public void schedule(ScheduledExecutorService exec)
+  public void run()
   {
-    LOG.info("Starting the DurableStorageCleaner with the config [%s]", 
config);
+    try {

Review Comment:
   Is this outer level try...catch required. In the OverlordDutyExecutor, we 
wrap the run of the duties in their own try...catch as well. The duty itself 
shouldn't worry about throwing the exceptions and it should be handled by the 
callers.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to