Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTX Support #458

Open
benbjohnson opened this issue Jan 28, 2023 · 2 comments
Open

LTX Support #458

benbjohnson opened this issue Jan 28, 2023 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@benbjohnson
Copy link
Owner

The LiteFS project uses the LTX file format for storing change sets and there a lot of improvements that can be made to Litestream if it used the same format:

  • Compaction support
  • WAL offset & salt maintained in LTX header
  • Compression support can be moved to LTX
  • Encryption support (planned)
@benbjohnson benbjohnson added the enhancement New feature or request label Jan 28, 2023
@benbjohnson benbjohnson added this to the v0.4.0 milestone Jan 28, 2023
@benbjohnson benbjohnson changed the title Use LTX for storage LTX Support Jan 28, 2023
@hifi
Copy link
Collaborator

hifi commented Jan 28, 2023

As the streaming replication support that was canned made changes to the file structure, will LTX support also keep the breaking change or allow restoring from legacy (0.3.x) WAL files and structure at least for one minor version (0.4.x) to make migration seamless and safe?

@benbjohnson
Copy link
Owner Author

@hifi I'm on the fence about backward compatibility. The new version will take a snapshot right away when it starts up so it'll be seamless and safe from that perspective. In theory, it could handle pulling in historic backups but that'd also be a fair bit of code to maintain that support as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants