limbo/core/storage
Jussi Saurio ad8c9a4c15 Merge 'Fix WAL frame checksum mismatch' from Diego Reis
Closes #1622
I did an A/B test between SQLite and Limbo and they can restart the db
from each other, indicating that there isn't something very wrong with
our file format. Turns out it was with our reset logic without
truncating the file. I assumed it's safe to don't reset if we're in
`PASSIVE` mode, given the
[docs](https://www.sqlite.org/c3ref/wal_checkpoint_v2.html) and [source
code](2bd9f69d40
f447e7b5c098/src/wal.c#L2193).
It also does some small clean ups and fixes.

Reviewed-by: Pere Diaz Bou <pere-altea@homail.com>

Closes #1647
2025-06-04 09:14:45 +03:00
..
btree.rs do not move_to if we are already inserting in correct place 2025-06-02 02:55:32 -03:00
buffer_pool.rs core: Move buffer_pool.rs to storage module 2024-08-01 11:53:14 +03:00
database.rs core/io: Switch to Arc<Completion> 2025-05-27 11:28:49 +03:00
mod.rs Minor improvements and cleanups in btree 2025-03-01 15:48:42 -05:00
page_cache.rs remove dumb comment from pagecachekey 2025-05-29 14:12:16 +02:00
pager.rs remove frame_id from PageCacheKey 2025-05-29 14:12:16 +02:00
sqlite3_ondisk.rs core: Tagging some comments as TODO 2025-06-03 15:09:16 -03:00
wal.rs core: Tagging some comments as TODO 2025-06-03 15:09:16 -03:00