Skip to content

Graph data for local channels sometimes missing #10447

@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

master

LND Configuration

Backend Version

Backend Configuration

OS/Distribution

Bug Details & Steps to Reproduce

For unkown reasons LND sometimes does not have the channel policies for local channels available. It is very rare but it happens and the latest user running into this problem was on postgres sql.

The result is, that these channels cannot be used for sending or forwarding payments because we always evaluate the graph and the policy data whether we allow forwarding/sending this HTLC.

The current workaround for fixing such behavior is to recreate the edge via by creating a new channelUpdate:

lncli updatechanpolicy --create_missing_edge

See also:
#10408
#7261

Expected Behavior

Debug Information

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions