Skip to content

Start using WAL

Ivaylo Novakov requested to merge ivo/refcounter_wal into master

MERGE REQUEST

Overview

The goal of this MR is to back all disk operations with WAL transactions, so in case siad crashes we wouldn't have damaged the reference counter files which could lead to dropping or overwriting sectors which are still in use and thus cause a data loss.

Example for Visual changes (ie Screenshot)

N/A

Issues Closed

Part of #3836

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods, or updating 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 work flow
  • [ ] Issue added to Sia-UI repo for new supporting features
  • [ ] Changelog updated
Edited by Ivaylo Novakov

Merge request reports