litefs
litefs copied to clipboard
FUSE-based file system for replicating SQLite databases across a cluster of machines
Was restarting litefs and it was connecting back to the primary and it happened. Can't seem to reproduce this, but this is the stacktrace off of the build of 37d2e5d255879b8635c38474a9e0c2609fa31be2....
When I was testing failover, I found some odd behaviour testing against two nodes (sea and mia). 1) Assuming mia was the primary, on reboot occasionally it would re-acquire the...
After failover testing done by ```fly restart vm```: ``` 2022-08-25T03:43:05Z app[8cd3b300] sea [info]cannot open store: open databases: open database: db=00000001 err=recover ltx: read ltx file header (0000000000000062-0000000000000062.ltx): unmarshal header: invalid...
Currently, LiteFS supports a single primary node that performs all the writes. However, there are situations where it would be useful to have multiple nodes that can write—even if it...
Would it be possible to open the underlying database file with mmap for better performance or would it not be very useful since all queries need to pass through the...
LiteFS provides some redundancy by running in a cluster, however, losing all nodes would cause all data to be lost. Replicating to S3 in manner similar to [Litestream](https://litestream.io/) would provide...
LiteFS currently only supports the rollback journal, however, it should also be able to convert WAL writes to LTX files as well.
Ideally, it'd be nice to support the creation or replacement of a database with simple file commands. e.g. ```sh cp /path/to/src.db /mnt/target.db ```
Not sure if the project is considered stable enough for such testing right now, but gave it a try anyway. Feel free to close the issue if it's not suitable...
Kubernetes has something similar to consul sessions called the Lease API. Could we use it to simplify deployments in k8s so there is no dependency on consul?