-
Notifications
You must be signed in to change notification settings - Fork 901
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
Change sqlite3_busy_timeout
to 60 seconds, add warnings re: litestream
.
#4867
Conversation
90079f0
to
6cb6e5a
Compare
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.
LGTM, I have only a small question, because I'm missing some things.
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.
Oh, I got it. my fault sorry.
ack 6cb6e5a
Let's just increase the default to 30 or 60 seconds. I mean, we could do better, but the user surely prefers a delay to a crash! Providing knobs like this is a last resort, IMHO. |
Closes: ElementsProject#4860 ChangeLog-Added: With `sqlite3` db backend we now use a 60-second busy timer, to allow backup processes like `litestream` to operate safely.
…mp` is safe(r) now.
6cb6e5a
to
2434e4d
Compare
Use 60-second timeout without exposing new option to user, updated |
--sqlite3-busy-timeout
option, add warnings re: litestream
.sqlite3_busy_timeout
to 60 seconds, add warnings re: litestream
.
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 2434e4d
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 2434e4d
Fixes: #4860
Fixes: #4857 if @x3nb63 can confirm
We need to specify versions in
BACKUP.md
since it is published on https://lightning.readthedocs.io/BACKUP.html and users might assume the recommendation applies to all versions;litestream
will reliably work after 5bf2b5c and on reasonably fast media/low-load conditions.