Re-exports§
pub use interceptor::ScatterFirstInterceptor;pub use file::CompactStats;pub use fs::GcStats;pub use fs::Outcome;pub use fs::TXN_INTENT_STALE_MS;pub use layout::HyperDirLayout;pub use layout::ROOT_DIR_UUID;pub use layout::KeyKind;pub use lock::LockKind;pub use lock::Conflict;pub use lock::SetLkOutcome;pub use lock::DEFAULT_LOCK_TTL_MS;pub use clock::S3ClockInterceptor;pub use clock::s3_clock_skew_ms;pub use clock::CLOCK_TRUST_LOCAL_MS;
Modules§
- clock
- A coarse shared clock derived from S3 response
Dateheaders, so lock and lease expiry stay consistent across mounts even when local wall clocks are skewed relative to each other. - file
- fs
- hyper
- interceptor
- Scatter-first commit interceptor.
- layout
- Physical S3 layout for directories and files.
- lock
- S3-backed advisory file locks (the “global” lock mode).
- ondisk
- s3
Structs§
- Compact
Lease Guard - Handle to an acquired compactor lease. Pass back to
DirStaging::release_compact_leaseto relinquish it. - DirScatter
Inode - Name
View - Identity-aware view of one name’s scatter (see
DirScatterInode::resolve_name_view): the live entry (if the name currently exists) plus the dead identities’ tombstones/predelete markers (which retire only their own identity). - Tombstone
Header - On-disk header carried in the body of a Delete (tombstone) scatter object.
Enums§
Constants§
- DEFAULT_
COMPACT_ LEASE_ FILE - Object name (under each directory’s prefix) used for the compactor lease.
- DEFAULT_
COMPACT_ LEASE_ TTL_ MS - Default TTL for the compactor leader lease. A compactor that holds the lease but crashes will block another compactor for at most this duration.
- DEFAULT_
DIR_ INODE_ SCATTER_ FOLDER - DEFAULT_
DIR_ INODE_ SUFFIX - Suffix of a live (Create/Update) inode scatter object.
- DEFAULT_
DIR_ TOMBSTONE_ SUFFIX - Suffix of a tombstone (Delete) scatter object.