Skip to content

Proposal: drop support for sync-freelist #6837

Open
@C-Otto

Description

@C-Otto

With lnd 0.15+ and sync-freelist=true the database grows much faster than with 0.14, causing issues once lnd runs out of free disk space and/or the database gets too large (see below). I don't understand the details behind the setting, but I think setting sync-freelist=true doesn't fix any important issue. As such, I propose to drop the flag completely, i.e. ignore sync-freelist=true if set. If this isn't feasible, I'd like to see a warning in the configuration file (https://github.com/lightningnetwork/lnd/blob/master/sample-lnd.conf).

The node ln.nicehash.com recently ran into this issue, causing lots of force-closed channels:
image
https://amboss.space/node/037659a0ac8eb3b8d0a720114efc861d3a940382dcfa1403746b4f8f6b2e8810ba

Related to #6800 #6744 #6737.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation changes that do not affect code behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions