This is an automated email from the ASF dual-hosted git repository. lollipop pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push: new 66d4a26eaa Optimize RocksDB CQ shutdown when using DoubleWriteCQ #9212 66d4a26eaa is described below commit 66d4a26eaaf648af78e5238899fab069f2546978 Author: qianye <wuxingcan....@alibaba-inc.com> AuthorDate: Fri Feb 28 14:19:38 2025 +0800 Optimize RocksDB CQ shutdown when using DoubleWriteCQ #9212 --- store/src/main/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 187a0729e8..d293e49a50 100644 --- a/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java +++ b/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java @@ -517,7 +517,7 @@ public class DefaultMessageStore implements MessageStore { if (this.compactionService != null) { this.compactionService.shutdown(); } - if (messageStoreConfig.isRocksdbCQDoubleWriteEnable() && this.rocksDBMessageStore != null) { + if (this.rocksDBMessageStore != null && this.rocksDBMessageStore.consumeQueueStore != null) { this.rocksDBMessageStore.consumeQueueStore.shutdown(); } this.flushConsumeQueueService.shutdown();