diff --git a/store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java b/store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java index cac4d98b560..082e7bbb386 100644 --- a/store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java +++ b/store/src/main/java/org/apache/rocketmq/store/queue/ConsumeQueueStore.java @@ -220,7 +220,7 @@ public boolean recoverConcurrently() { FutureTask futureTask = new FutureTask<>(() -> { boolean ret = true; try { - ((FileQueueLifeCycle) logic).recover(); + logic.recover(); } catch (Throwable e) { ret = false; log.error("Exception occurs while recover consume queue concurrently, " +