You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parse error: database disk image is malformed (11)
However, when I run the restore command again about 30 minutes later and then check integrity on the newly restored database,
the integrity check passes successfully.
Question:
Under what conditions could a Litestream restore produce a SQLite database that fails integrity check with Parse error: database disk image is malformed (11), only for a later restore from the same replica to succeed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m observing an inconsistent behavior when restoring a SQLite database from Litestream.
Steps to reproduce:
Restore the database using:
Open the restored database in
sqlite3and run:The result is:
However, when I run the restore command again about 30 minutes later and then check integrity on the newly restored database,
the integrity check passes successfully.
Litestream config:
Question:
Under what conditions could a Litestream
restoreproduce a SQLite database that fails integrity check withParse error: database disk image is malformed (11), only for a later restore from the same replica to succeed?Beta Was this translation helpful? Give feedback.
All reactions