[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 |
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. |
|
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. |
|
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? |
|
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. |
|
Converting this into a discussion thread instead |
|
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. |
|
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. |
|
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? |
|
same problem, lot of log spam fill up logs |
Thanks @remcoros & @lnliz. We've now merged a fix for this: #10514
We'll aim to get that into
lnd v0.20.1-beta.