Skip to content

v0.2.0

Compare
Choose a tag to compare
@benbjohnson benbjohnson released this 31 Dec 23:38
· 281 commits to main since this release

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 setting addr: "" in the config.