volume(rs): keep the CompactionClaim doc on CompactionClaim

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-12-03 15:42:01 -08:00
1 parent c6f5199275
commit 0589a59bf8
1 file changed
+1 -1
+1 -1
View File
@@ -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<AtomicBool>);
impl CompactionClaim {