diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-07 13:39:34 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-04-27 16:49:07 +0200 |
commit | 2812a027ea5a8ac0de22aedce9552c2420c07019 (patch) | |
tree | 6ab505b1f5e5d43907c77fcb324df3f9718239ac /src/model/block.rs | |
parent | 74373aebcfdfcf5c03e4fb6510d8dd664a0b9b88 (diff) | |
download | garage-2812a027ea5a8ac0de22aedce9552c2420c07019.tar.gz garage-2812a027ea5a8ac0de22aedce9552c2420c07019.zip |
change some more comments and revert changes on TableSchema
Diffstat (limited to 'src/model/block.rs')
-rw-r--r-- | src/model/block.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/model/block.rs b/src/model/block.rs index 89685630..5f428fe1 100644 --- a/src/model/block.rs +++ b/src/model/block.rs @@ -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); |