Ben Johnson dbdde21341 Use sqlite3_file_control(SQLITE_FCNTL_PERSIST_WAL) to persist WAL
Previously, Litestream would avoid closing the SQLite3 connection
in order to ensure that the WAL file was not cleaned up by the
database if it was the last connection. This commit changes the
behavior by introducing a file control call to perform the same
action. This allows us to close the database file normally in all
cases.
2022-01-28 15:12:43 -07:00
2021-06-14 15:24:05 -06:00
2021-04-21 16:32:05 -06:00
2021-06-14 15:24:05 -06:00
2022-01-22 11:14:59 -07:00
2022-01-04 15:03:59 -07:00
2021-06-14 15:24:05 -06:00
2021-06-14 15:24:05 -06:00
2022-01-11 13:29:20 -07:00
2021-01-16 09:22:02 -07:00
2021-04-28 08:33:51 -06:00
2022-01-04 15:03:59 -07:00
2022-01-04 15:03:59 -07:00
2021-04-21 16:32:05 -06:00
2022-01-04 15:03:59 -07:00
2022-01-11 13:29:20 -07:00
2021-12-05 08:44:19 -07:00
2022-01-04 15:03:59 -07:00
2022-01-04 15:03:59 -07:00
2022-01-04 15:03:59 -07:00
2022-01-04 15:03:59 -07:00

Litestream GitHub release (latest by date) Status GitHub Docker Pulls test

Litestream is a standalone streaming replication tool for SQLite. It runs as a background process and safely replicates changes incrementally to another file or S3. Litestream only communicates with SQLite through the SQLite API so it will not corrupt your database.

If you need support or have ideas for improving Litestream, please join the Litestream Slack or visit the GitHub Discussions. Please visit the Litestream web site for installation instructions and documentation.

If you find this project interesting, please consider starring the project on GitHub.

Acknowledgements

While the Litestream project does not accept external code patches, many of the most valuable contributions are in the forms of testing, feedback, and documentation. These help harden software and streamline usage for other users.

I want to give special thanks to individuals who invest much of their time and energy into the project to help make it better:

Huge thanks to fly.io for their support and for contributing credits for testing and development!

Contribution Policy

Initially, Litestream was closed to outside contributions. The goal was to reduce burnout by limiting the maintenance overhead of reviewing and validating third-party code. However, this policy is overly broad and has prevented small, easily testable patches from being contributed.

Litestream is now open to code contributions for bug fixes only. Features carry a long-term maintenance burden so they will not be accepted at this time. Please submit an issue if you have a feature you'd like to request.

If you find mistakes in the documentation, please submit a fix to the documentation repository.

Description
Streaming replication for SQLite.
Readme 1.4 MiB
Languages
Go 98.8%
Makefile 0.5%
Python 0.3%
Dockerfile 0.2%
PowerShell 0.1%