Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
iwanbk committed Feb 17, 2025
1 parent 265a9e3 commit bd118a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/refcount.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ When the refcount reaches zero, the data block can be deleted.
- If a new key reuses the block, `refcount` will be increased by one.
- Deleting the object will reduce the `refcount` value.
- When the `refcount` value reaches zero, the object must be deleted.
- if a key is updated with different blocks, if the block is not used anymore its `refcount` also needs to be decreased.

**Failure cases:**
- when writing/reusing block, failed to write the metadata or increase the `refcount`
Expand Down

0 comments on commit bd118a4

Please sign in to comment.