Follow-up from "Resolve "Need to be able to Delete Corrupt SiaFile""
The following discussion from !3613 (merged) should be addressed:
-
@ChrisSchinnerl started a discussion: (+1 comment) Hm I'm starting to think it would be convenient to extend the
writeaheadlog
package with afunc (wal *WAL) CreateAndApplyTransaction(updates ...Update) error
convenience method and a bunch of frequently used updates like the insert and delete update since we seem to copy paste that code a lot.
This issue is for further discussion on the above comment. If there are changes to be made to the wal
then an issue should be made in that repo to track the changes.