Closed Koeng101 closed 7 months ago
Your intuition is correct: as things stand this driver is not compatible with Litestream.
Supporting WAL in a way that enables (an external process like) Lightstream to work is particularly hard.
https://github.com/maxpert/marmot is an alternative from Litestream that uses NATS for storage.
you can easily get it going using embedded nats too: https://github.com/maxpert/marmot/blob/master/stream/embedded_nats.go
Its using github.com/mattn/go-sqlite3: https://github.com/maxpert/marmot/blob/master/db/sqlite.go#L15C3-L15C30
This again depends on WAL mode, for which current support is less than great.
Indeed it does.
In the documentation:
This seems to mean software like litestream, which uses taking over the WAL file for backups, wouldn't work. I just wanted to confirm I'm correct about that, so I don't use those two pieces of software together!