mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
042a20165118eaf8afb2b264bd18644990a0066a
New map pages and roots go into 4 KiB extents that no live root references, lowest first, instead of always being appended. Live roots are the roots named by the two descriptor slots and every prepared candidate not yet published or superseded. After each publication the publisher reports both slots; an extent is released only once neither slot's root references it. New pages and the root are fsynced before a publication names them. The free tail is truncated when the file exceeds 4x the live bytes. The on-disk format is unchanged. WALStore.ChunkMapStatsV3 reports the file bytes, live bytes and truncations. Fixes #236. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%