Skip to content

[bug]: Local Channel all of a sudden not in local cache #10342

@ziggie1984

Description

@ziggie1984

Pre-Submission Checklist

  • I have searched the existing issues and believe this is a new bug.
  • I am not asking a question about how to use lnd, but reporting a bug (otherwise open a discussion).

LND Version

20 rc2

LND Configuration

native sql - postgres

Backend Version

core v0.29

Backend Configuration

OS/Distribution

Bug Details & Steps to Reproduce

For unknown reason a direct peer got dropped of the channel cache and it was impossible to readd it to the cache via a local channelUpdate on that channel.

When triggering the ChannelUpdate seeing a lot of:

GRDB: Channel=XXXX not found in graph cache

Only a restart fixed the issue, the channel was basically unusable because we use the cache for pathfinding and forwarding.

Expected Behavior

Don't drop local channels from Graph-Cache

Debug Information

No response

Environment

No response

Metadata

Metadata

Assignees

Labels

bugUnintended code behaviourgraph

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions