We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f657bf2 commit 7f80aeaCopy full SHA for 7f80aea
1 file changed
store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java
@@ -517,7 +517,7 @@ public void shutdown() {
517
if (this.compactionService != null) {
518
this.compactionService.shutdown();
519
}
520
- if (messageStoreConfig.isRocksdbCQDoubleWriteEnable() && this.rocksDBMessageStore != null) {
+ if (this.rocksDBMessageStore != null && this.rocksDBMessageStore.consumeQueueStore != null) {
521
this.rocksDBMessageStore.consumeQueueStore.shutdown();
522
523
this.flushConsumeQueueService.shutdown();
0 commit comments