Skip to content

Comment on Litestream: Revampedparent

Comments

Databases with journal_mode=wal cannot be modified via LiteVFS (but can be read)

Without modifying SQLite (what the Turso guys did), the WAL index is hard (but not impossible) to share across a network boundary. I'm guessing that's the why here. There's a hack that I'm pretty confident works, but I'm not sure how it behaves under latency (sure enough that I use it for Windows, and it hasn't caused issues running mptest thousands of times in CI over months).

Leaving it here, maybe Ben's interested.

https://github.com/ncruces/go-sqlite3/blob/c780ef16e277274e7...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.