Replies: 1 comment 1 reply
-
There's a window of time where Litestream releases its read-only transaction that blocks the checkpointing where your application could try to issue a checkpoint instead. In that case, Litestream will re-snapshot when it comes back up, however, typically this shouldn't cause new snapshots on restart.
A |
Beta Was this translation helpful? Give feedback.
-
In an environment where new databases are created at runtime, it would be helpful to have a way to ask litestream to re-read the configuration file.
We currently regenerate the config file and then restart the docker container that litestream is running in (we're using the official docker image). This works but I am wondering if it will cause a lot of new snapshots to be done on startup if our app happens to flush any WALs in the interim.
Does or can litestream support being sent say a SIGHUP to force reloading of the config file? (perhaps only loading new entries but not changes, if that's easier to solve)
Beta Was this translation helpful? Give feedback.
All reactions