v0.2.0
Overview
This release focused on additional usability with the CLI & adding real-time metrics. It also introduced a few breaking changes to the checkpointing & file replica disk layout.
New commands
litestream wal
—Lists WAL files for a database.litestream snapshots
—List snapshots for a database.litestream databases
—Lists databases listed in configuration file.litestream validate
—Restores the database from a replica and verifies the primary & replica match.
Other changes
- Group file replica WAL files into subdirectories with 64K files.
- Add checkpoint interval to limit the maximum amount of time a WAL file spans. Defaults to 1 minute.
- Remove shadow WAL files that have been copied to all replicas.
- Add database metrics via Prometheus endpoint (
http://localhost:9090/metrics
). Can be turned off by settingaddr: ""
in the config.