Skip to content

Releases: benbjohnson/litestream

v0.2.0

31 Dec 23:38
Compare
Choose a tag to compare

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.

v0.1.0

29 Dec 20:51
Compare
Choose a tag to compare

Initial release of litestream.

  • litestream replicate
  • litestream restore