Skip to content

[MINOR] Debug siafile hostpubkey critical

Christopher Schinnerl requested to merge chris/siafile-missing-delete-check into master

MERGE REQUEST

MR Guidelines

Overview

This MR adds some deletion checks to the Siafile. Method like Redundancy and Pieces would still execute even though the siafile was marked as deleted. Some of the added checks might be redundant but better safe than sry.

It also makes sure managedUpdateFileMetadata returns upon receiving an error instead of logging it. managedUpdateFileMetadatas will then collect those errors.

It also extends a build.Critical. In case it ever happens again it will tell us if it was called on a deleted file.

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 Christopher Schinnerl

Merge request reports