You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
0 commit comments