From 33b3688bfa1d23d9897e57e8045ee617a0b9f576 Mon Sep 17 00:00:00 2001 From: qqeasonchen Date: Mon, 9 Sep 2019 10:23:37 +0800 Subject: [PATCH] shutdown the disk check service when the server closed --- .../java/org/apache/rocketmq/store/DefaultMessageStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java b/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java index ea62fc65..171a3318 100644 --- a/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java +++ b/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java @@ -295,7 +295,7 @@ public class DefaultMessageStore implements MessageStore { this.shutdown = true; this.scheduledExecutorService.shutdown(); - + this.diskCheckScheduledExecutorService.shutdown(); try { Thread.sleep(1000); -- GitLab