You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happened to a node operator, had a channel with a node which is basically a wallet (is always offline except when receiving or sending money) it happened that both channel policies for this channel where disabled and now the channel will not be added to our GraphCache and hence becomes unusable. I therefore highly suggest always adding our local channels to the GraphCache:
So to give more background so the issue is more clear:
The operator had a channel which had both policies (disabled=true, not sure why both sides). He was seeing this channel as active tho, because as soon as the peer cam online the channel was fully functional. However he could not send funds to this direct peer and the logs didn't reveal anything because in our payment logic we call the graph to get information about our local channels and the channel would not be part of it:
if the user specified the outgoing_chan_id the logging said insufficient funds and failed here:
Moreover when one of the channel policies is enabled, the channel is not added to the cache, so this should also be take into account when fixing this issue.
If the graph cache is disabled via --db.no-graph-cache option, the payment succeeds.
This looks as a bug to me. Cache should optimize accesses, not affect results.
Happened to a node operator, had a channel with a node which is basically a wallet (is always offline except when receiving or sending money) it happened that both channel policies for this channel where disabled and now the channel will not be added to our GraphCache and hence becomes unusable. I therefore highly suggest always adding our local channels to the GraphCache:
Relevant code:
lnd/graph/db/graph_cache.go
Lines 167 to 171 in f4bf99b
The text was updated successfully, but these errors were encountered: