Files
turso/core
Jussi Saurio 5498816d0b Merge 'mvcc: add blocking checkpoint lock' from Jussi Saurio
This PR does not implement MVCC checkpoint yet, just adds a lock for it.
MVCC checkpoints are always TRUNCATE, plus they block all other
transactions. This guarantees that never need to let transactions read
from the SQLite WAL.
In MVCC, the checkpoint procedure is roughly as follows:
- Take the blocking_checkpoint_lock
- Write everything in the logical log to the pager, and from there
commit to the SQLite WAL.
- Immediately TRUNCATE checkpoint the WAL into the database file.
- Release the blocking_checkpoint_lock.

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

Closes #3244
2025-09-22 16:16:26 +03:00
..
fmt
2025-09-18 18:40:13 +02:00
2025-09-22 12:40:19 +03:00
2025-06-30 10:01:03 +03:00
2025-09-22 10:18:03 +03:00
2025-08-15 17:08:53 -04:00
2025-01-28 14:55:38 -05:00
2025-09-17 11:57:23 +03:00
2025-01-28 14:55:38 -05:00
2025-09-19 16:48:12 +04:00
2025-09-19 16:48:12 +04:00
2025-06-23 19:52:13 +01:00
2025-09-13 10:49:14 +02:00
2025-09-20 14:38:47 -04:00
2025-06-30 09:54:13 +03:00