block refcount repair #782

Merged
lx merged 3 commits from block-ref-repair into next-0.10 2024-03-19 15:59:20 +00:00

3 Commits

Author SHA1 Message Date
Alex 3eab639c14
[block-ref-repair] mention `garage block repair-rc` in documentation
ci/woodpecker/pr/debug Pipeline was successful Details
ci/woodpecker/push/debug Pipeline was successful Details
2024-03-19 16:24:34 +01:00
Alex 3165ab926c
[block-ref-repair] rename rc's rc field to rc_table
ci/woodpecker/push/debug Pipeline was successful Details
ci/woodpecker/pr/debug Pipeline was successful Details
2024-03-19 16:20:22 +01:00
Alex dc0b78cdb8
[block-ref-repair] Block refcount recalculation and repair
- 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
2024-03-19 16:20:22 +01:00