Hi, folks. Thanks for the cool product. We use it here at the office and love it.
Recently we ran into an issue in which Litestream is capable of creating snapshots and persisting them to an S3 bucket, but does not appear to be performing the once-per-second sync.
This can be reproduced trivially on our Ubuntu 22.04.3 LTS host with Litestream 0.3.9 and SQLite3 3.37.2.
Is the system working as intended? are we sending WAL segments to S3? I'm wondering why we don't see the "write wal segment" entries in our Litestream logs.
Hi, folks. Thanks for the cool product. We use it here at the office and love it.
Recently we ran into an issue in which Litestream is capable of creating snapshots and persisting them to an S3 bucket, but does not appear to be performing the once-per-second sync.
This can be reproduced trivially on our Ubuntu 22.04.3 LTS host with Litestream 0.3.9 and SQLite3 3.37.2.
Example Litestream configuration YAML:
Example database creation and pragma-setting:
Creating some tables:
Starting Litestream:
Then, in a separate shell:
In the shell running Litestream, I see no "write wal segment" or "wal segment written" output.
Finally, when I list generations for my database, the lag displays as a negative value:
I have verified that new artifacts are making their way to S3, though:
Is the system working as intended? are we sending WAL segments to S3? I'm wondering why we don't see the
"write wal segment"
entries in our Litestream logs.Thanks in advance for your help.