Skip to content

deleteFailedPayment offline?  #5349

@nicolasburtey

Description

@nicolasburtey

Background

Following this issue: #5297 I'm trying to clean up the db so that lnd doesn't make 1h to start.

I have run the command deleteFailedPayment to try to clean up the bbolt database. following deleteFailedPayment rpc, the node has been stuck for 2h, and the db size hasn't change during this time (looking at a watch du). After the 2 hours I have restarted the node and it is still working, but the db size hadn't changed.

would it be possible to run this command offline (with chantools maybe)?
Maybe the implementation of the deleteFailedPayment is just not made for db that are 6GB+ in size?

The node currently run in production so it's hard to make test on it.

Your environment

  • version of lnd: 0.12.1
  • which operating system (uname -a on *Nix). linux / gcloud
  • version of btcd, bitcoind, or other backend. bitcoind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions