-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement WAL-based RaftLog storage
Replace sled-based storage with a dedicated WAL implementation optimized for Raft Log operations. The new implementation provides: Performance improvements: - Non-blocking batched fdatasync - FILO caching for latest logs (configurable size/count) - ~0.5ms write latency Compatibility: - Backward compatible with existing data format - Auto-upgrades from V003 to V004 format on startup - Supports rolling upgrades (no protocol changes) - databend-metactl supports both V003/V004 import/export Technical details: - New storage format: V004 - Optimized specifically for Raft Log operations - Preserves all existing functionality
- Loading branch information
1 parent
bb56f16
commit 1d521c3
Showing
52 changed files
with
1,656 additions
and
1,314 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.