mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
volume(rs): keep the CompactionClaim doc on CompactionClaim
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c6f5199275
commit
0589a59bf8
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user