mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
MaybeAdjustVolumeMax runs just before every heartbeat and, for a disk without a fixed -max, reads each writable volume's .dat and .idx sizes through the data lock, so it still waited out a compaction commit. UnUsedSpace now reads the footprint the commit pinned while one holds the volume, in Go and in Rust. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>