Skip to content

Health Loop

Matthew Sevey requested to merge health-loop into unstable

MERGE REQUEST

Changes to Work Flow

This MR implements the Health Check Loop for the updated repair code. The Health Check Loop follows the path of the oldest LastHealthCheckTime and then calls BubbleHealth on the directory with the oldest LastHealthCheckTime. The Health Check Loop will do this until the oldest LastHealthCheckTime is within the healthCheckInterval which is current set to 1 hour.

Testing Updates

Unit testing was added for the Health Check Loop methods and the additional wal methods needed for applying the Bubble Health update.

Modules and Packages Impacted

  • modules/renter
  • modules/renter/siadir
  • node/api
  • siatest/renter
Edited by Matthew Sevey

Merge request reports