Files
rocketmq/store
rongtong 86e8ed630b [ISSUE #9666] Add accelerated startup recovery feature for RocksDB store with SYNC_FLUSH (#9667)
* feat: Add accelerated startup recovery feature

Add accelerated startup recovery functionality when using RocksDB store with SYNC_FLUSH configuration:

- Add enableAcceleratedRecovery configuration option in MessageStoreConfig
- Implement accelerated recovery logic in CommitLog for both normal and abnormal recovery
- Add protective fallback mechanism to handle edge cases
- Improve isMappedFileMatchedRecover method for better robustness
- Add comprehensive unit tests for the accelerated recovery feature

This feature significantly reduces startup time when recovering from RocksDB-based storage
with synchronous flushing enabled, while maintaining data consistency and safety.

* Fix the issue of accelerated startup failure

* refactor: Remove problematic unit test

Remove AcceleratedRecoveryTest.java as the test implementation was not appropriate for the accelerated startup recovery feature.

* Delete useless code
2025-09-09 14:11:24 +08:00
..