mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
Was running the sim with I/O faults enabled and fixed some nasty bugs. Now, there are some more nasty bugs to fix as well. This is the command that I use to run the simulator `cargo run -p limbo_sim -- --minimum- tests 10 --maximum-tests 1000` This PR mainly fixes the following bugs: - Not decrementing in flight write counter when `pwrite` fails - not rolling back the transaction on `step` error - not rolling back the transaction on `run_once` error - some functions were just being unwrapped when they could suffer io errors - Only change max_frame after wal sync's Reviewed-by: Pere Diaz Bou <pere-altea@homail.com> Reviewed-by: Pere Diaz Bou <pere-altea@homail.com> Closes #1946