mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-02 07:54:19 +01:00
SQLite behavior is: if another connection has modified the DB when a read tx starts, it must clear its page cache due to the potentiality of there being stale versions of pages in it. In the future, we may want to do either: 1. a more granular invalidation logic for per-conn cache, or 2. a shared versioned page cache But right now we must follow SQLite to make our current behavior not corrupt data
Integration and regression test suite.
# run all tests
cargo test
# run individual test
cargo test test_sequential_write -- --nocapture