wattt3 commented on code in PR #3131:
URL: https://github.com/apache/fluss/pull/3131#discussion_r3281924716
##########
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorEventProcessor.java:
##########
@@ -302,9 +314,16 @@ public void startup() {
// start rebalance manager.
rebalanceManager.startup();
+
+ resumeDeletionScheduledExecutor.scheduleWithFixedDelay(
+ () -> coordinatorEventManager.put(new ResumeDeletionEvent()),
+ resumeDeletionIntervalMs,
+ resumeDeletionIntervalMs,
+ TimeUnit.MILLISECONDS);
}
public void shutdown() {
+ resumeDeletionScheduledExecutor.shutdownNow();
Review Comment:
Changed to use `ExecutorUtils.gracefulShutdown()`
--
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]