added Litestream Replication#4554
Conversation
How does c-lightning handle write-locks now? |
|
I think this will break c-lightning: we do not expect db operations to fail at all. We would definitely want to block in this case. |
I noticed the same issue was discussed here already #4207 (comment) -- edit --
|
7334f2a to
1d7dae9
Compare
|
OK, I (trivially) rebased on master, and added commits so that we set the busy timeout. I also remove the copy operation in our tests, which should actually exercise this a little. |
|
Trivial rebase. |
Litestream enables easy SQLite replication
This is recommended for litestream, which allows for easy async backup, and harmless otherwise. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: db: we now set a busy timeout to safely allow others to access sqlite3 db (e.g. litestream)
Should be safe to do in-place. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
YA trivial rebase. |
Litestream.io enables easy SQLite replication for continuous backups