Skip to content

Panic when applying updates or signalling their completion fails in siadir and siafile

Christopher Schinnerl requested to merge chris/panic-failed-wal-txn into master

MERGE REQUEST

MR Guidelines

Overview

After an update has been written to the WAL successfully, we need to panic when applying updates to disk fails. Otherwise the file on disk is potentially corrupted and out-of-sync with the in-memory-state. That way we can avoid further corruption.

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

Merge request reports