mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-29 04:13:00 +08:00
0e72809335
* fix: prevent broker startup failure after power outage - Add atomic file backup mechanism in persist() methods - Delete corrupted config files during startup to avoid bak file pollution - Add directory sync to ensure file operations visibility Fixes: TimerMetrics#persist, TransactionMetrics#persist, ConfigManager#persist * remove "Shutdown" implements * empty commit * add SuppressWarnings * fix ut * fix ut * pass rocksdb ut when isMac() * pass rocksdb ut when isMac() * pass rocksdb ut when isMac() * pass rocksdb ut when isMac() * pass RocksdbGroupConfigTransferTest ut when isWindows() * pass Rocksdb ut when isMac() --------- Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>