Files
lightcraft/docs
Nathaniel Ledford 40f2dc93e2 fix(catalog,engine): journal and undo a batch whose rollback fails part-way
Catalog::apply rolled a failed batch back with `let _ = apply_inner(inv)`. When an inverse failed, the catalog stayed changed but apply returned a plain error, so Session::commit skipped the journal record and the undo step: a restart replayed the old state and the change could not be undone.

The failed inverses are now kept and returned in CatalogError::PartlyApplied, with what is left of the rollback. Session::commit journals the batch (replaying it fails the same way and leaves the same changes) and makes the remainder its undo step. Journal replay counts such a record as replayed. apply_system and a failing undo or redo journal it too.
2026-11-02 16:09:19 -05:00
..
2026-10-31 02:31:16 +00:00
2026-10-31 02:31:16 +00:00
2026-10-31 02:31:16 +00:00
2026-10-15 03:24:51 -04:00
2026-10-08 20:20:17 +00:00
2026-10-24 22:28:38 +04:00
2026-10-31 02:31:16 +00:00
2026-10-31 02:31:25 +00:00
2026-10-31 02:31:25 +00:00