forked from Deuxfleurs/garage
Alex Auvolat
dc0b78cdb8
- We always recalculate the reference count of a block before deleting it locally, to make sure that it is indeed zero. - If we had to fetch a remote block but we were not able to get it, check that refcount is indeed > 0. - Repair procedure that checks everything
14 lines
190 B
Rust
14 lines
190 B
Rust
#[macro_use]
|
|
extern crate tracing;
|
|
|
|
pub mod manager;
|
|
pub mod repair;
|
|
pub mod resync;
|
|
|
|
mod block;
|
|
mod layout;
|
|
mod metrics;
|
|
mod rc;
|
|
|
|
pub use block::zstd_encode;
|
|
pub use rc::CalculateRefcount;
|