[bug]: 0.19.1 filling logs with: [WRN] GRDB: Channel=969519666583044097 not found in graph cache #9944
-
BackgroundAfter updating from 0.19.0 -> 0.19.1 the logs seem to be spamming the below warnings despite Is this expected to resolve with more time? LND seems to otherwise be functioning normally. Your environment
Steps to reproduceUpdate LND from 0.19.0 -> 0.19.1 Expected behaviourClean logs without these warnings when the graph should be fully synced Actual behaviourLND logs spamming warnings about channels missing from the graph cache |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 3 replies
-
|
I don't think this is a new issue, I've seen this warning even before the upgrade from 0.19.0 to 0.19.1. |
Beta Was this translation helpful? Give feedback.
-
|
It is definitely possible this issue exists on 0.19.0 (which I admittedly hadn't used for very long before updating to 0.19.1); But I can't said I have seen this warning on LND <= 0.18.5. |
Beta Was this translation helpful? Give feedback.
-
|
The log was added in 0.19.0 (001e559). Though the problem likely existed before (just silent). Is it possible that you were running with Neutrino backend initially and then switched to btcd / bitcoind backend? |
Beta Was this translation helpful? Give feedback.
-
|
Nice find. I guess the question is whether LL intended for this additional logging. I am not nor have ever run neutrino on this node. |
Beta Was this translation helpful? Give feedback.
-
|
Converting this into a discussion thread instead |
Beta Was this translation helpful? Give feedback.
-
|
Channels are not added to the graph cache when both policies have it disabled, which is a realistic scenario. Then this message is generated later on when somebody tries to lookup this channel. |
Beta Was this translation helpful? Give feedback.
-
|
I am seeing quite a lot of these messages too. When I query lnd by using lncli getchaninfo, I can see the channel is known and indeed disabled on both ends. I'd say this message is not that usable. And it is always included twice (because the cache lookup is done twice for node1 and node2. |
Beta Was this translation helpful? Give feedback.
-
|
Any update? My logs are full of these messages and it's very spammy. It's not really a helpful message either. Is this really a warning? Should it not be a debug log? |
Beta Was this translation helpful? Give feedback.
-
|
same problem, lot of log spam fill up logs |
Beta Was this translation helpful? Give feedback.
-
|
@remcoros & @lnliz, are either of you running with an SQL |
Beta Was this translation helpful? Give feedback.
Thanks @remcoros & @lnliz. We've now merged a fix for this: #10514
We'll aim to get that into
lnd v0.20.1-beta.