allow watchtower to store data in remote (etcd) backend#5480
allow watchtower to store data in remote (etcd) backend#5480calvinrzachman wants to merge 3 commits intolightningnetwork:masterfrom
Conversation
…o match ChannelDB
- rename function 'initializeDatabases' to make explicit that we are setting up the channelDB
|
Thanks for the PR! Unfortunately your timing is a bit unlucky. We've actually started working on making all databases fully remote in etcd mode. So we're approaching this in a more generic manner. |
|
Hi Oliver @guggero, that's great news! I probably should have asked in Slack before putting this one up. I was trying to take inspiration from what is done for the |
|
Yeah, asking in an issue or on Slack generally helps to avoid this kind of situation. Really appreciate your effort though! I just finished a first draft of the generic PR: #5484 |
|
Closing per guidance from Oliver above |
Hi, submitting this PR as an expression of interest in letting the watchtower server store data remotely. Verified that the tower writes to the remote storage using Polar and a local etcd cluster, but still need to look at what, if anything, needs adding from an automated testing perspective.
Never touched the DB before so feel free to let me have it on this one.
Could consider: