diff --git a/seaweed-volume/src/storage/volume.rs b/seaweed-volume/src/storage/volume.rs index 9934dc5293..8a01af912c 100644 --- a/seaweed-volume/src/storage/volume.rs +++ b/seaweed-volume/src/storage/volume.rs @@ -1046,7 +1046,6 @@ fn vacuum_ttl_expired( n.last_modified > 0 && now_secs >= n.last_modified + (ttl_minutes as u64) * 60 } -/// Holds `Volume::is_compacting` set; dropping it clears the flag. /// What the heartbeat reports about a loaded volume's files. #[derive(Clone, Copy, Debug, Default, PartialEq)] pub struct VolumeStatus { @@ -1075,6 +1074,7 @@ impl Drop for CommitStatusHold<'_> { } } +/// Holds `Volume::is_compacting` set; dropping it clears the flag. struct CompactionClaim(Arc); impl CompactionClaim {