github benbjohnson/litestream v0.2.0

latest releases: v0.3.13, v0.3.12, v0.3.11...
3 years ago

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.

Don't miss a new litestream release

NewReleases is sending notifications on new releases.