Update repair remaining to only include files needing repair, add stuck repair
MERGE REQUEST
Overview
This MR updates the RepairSize
fields in the siadir
metadata.
RepairSize
now corresponds to only data that the repair loop will try and repair. This means it will ignore data that is below the RepairThreshold
where previously it did not. Additionally it will not include stuck data.
StuckSize
was added and corresponds to stuck data that will be handled by the stuck loop.
Some additional helpers were added to help as well
-
CalculateHealth
was added to ensure we are calculating the health the same everywhere. -
NeedsRepair
was added to ensure we are comparing against theRepairThreshold
the same everywhere.
Example for Visual Changes
Checklist
Review and complete the checklist to ensure that the MR is complete before assigned to an approver.
-
All new methods or updated methods have clear docstrings -
Testing added or updated for new methods -
Any new packages are added to Makefile and .gitlab-ci.yml -
API documentation updated for API updates -
Module README.md updated for changes to workflow -
Issue added to Sia-UI repo for new supporting features -
Changelog File Created
Issues Closed
Edited by Matthew Sevey