tianliuliu commented on code in PR #8915:
URL: https://github.com/apache/rocketmq/pull/8915#discussion_r1841472095


##########
store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java:
##########
@@ -144,10 +146,8 @@ public static DBOptions createDBOptions() {
                 setInfoLogLevel(InfoLogLevel.INFO_LEVEL).
                 setWalRecoveryMode(WALRecoveryMode.PointInTimeRecovery).
                 setManualWalFlush(true).
-                setMaxTotalWalSize(0).

Review Comment:
   这里是多个cf使用这个db, 可以设置一个MaxTotalWalSize 来实现wal switch



-- 
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: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to