mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-20 18:12:15 +00:00
change some more comments and revert changes on TableSchema
This commit is contained in:
committed by
Alex Auvolat
parent
74373aebcf
commit
2812a027ea
@@ -250,7 +250,6 @@ impl BlockManager {
|
||||
}
|
||||
|
||||
/// Decrement the number of time a block is used
|
||||
// when counter reach 0, it seems not put to resync which I assume put it to gc?
|
||||
pub fn block_decref(&self, hash: &Hash) -> Result<(), Error> {
|
||||
let new_rc = self.rc.update_and_fetch(&hash, |old| {
|
||||
let old_v = old.map(u64_from_be_bytes).unwrap_or(0);
|
||||
|
||||
Reference in New Issue
Block a user