Litestream with dynamic lease

Following the sunsetting of LiteFS Cloud, I have setup Litestream on my app as per the Continuous backup via Litestream documentation to backup my litefs running with consul for dynamic leases.

It works well but only as long as I have a single node. Now I understand now that I missed the “This approach only works if you are running a static lease on your cluster.” bit in the documentation and I had.
So am I prevented from ever running multiple nodes?

Are there any solution to run litestream while having multiple node? Ideally litestream would run on all the nodes and simply quietly ignore read-only nodes.
I guess could leverage if-candidate to run litestream on a single node in a primary region while having multiple secondary nodes in a secondary region.. That would be a slight improvement but that’s not really what I want as I need to have multiple candidates nodes in the primary region for better availability.
Or could I change the lease strategy?

Am I missing something obvious here?

Hi… Not that obvious, but…

https://community.fly.io/t/litefs-backup-drop-in-replacement-for-litefs-cloud/22267

Sadly it appears that project is unmaintained

Hm… I’m not saying that’s implausible, but perhaps you could tell us a bit more about how you reached that dire of a conclusion?

My understanding is that it was always intended to be in “basically done” mode, so a lack of updates per se isn’t a surprise…

That last message on the thread doesn’t seem encouraging.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.