-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <[email protected]> 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 <[email protected]>
YA trivial rebase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack 858156a
Litestream.io enables easy SQLite replication for continuous backups