Skip to content

Commit 93f300f

Browse files
committed
docs: add release note for the lnd-ready migration timeout
Document the new --lndreadytimeout option and the startup failure it fixes in the 0.17.1 release notes.
1 parent 7392760 commit 93f300f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/release-notes/release-notes-0.17.1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@
2323
`WAITING_TO_START` state, so the very next call could still fail with
2424
`rpc error: ... waiting to start`.
2525

26+
* [Wait longer for lnd during the kvdb-to-SQL
27+
migration](https://github.com/lightninglabs/lightning-terminal/pull/1359):
28+
The kvdb-to-SQL data migration polls lnd's `ListMacaroonIDs` RPC, which only
29+
becomes available once lnd reaches its "RPC active" state. On nodes with a
30+
large channel/graph state, lnd can take well over a minute to get there after
31+
the wallet is unlocked, which exceeded the previous fixed 60-second poll
32+
budget and caused the migration (and therefore litd startup) to fail
33+
permanently, requiring a manual restart. The wait is now bounded by a
34+
configurable, generous timeout (`--lndreadytimeout`, defaulting to 10
35+
minutes) instead of a fixed attempt count.
36+
2637
### Functional Changes/Additions
2738

2839
### Technical and Architectural Updates

0 commit comments

Comments
 (0)