Skip to content

bug: a valid server change fails while the old node's writes are in flight #2147

Description

@ovitrif

Since ldk-node 0.7.0-rc.82 (#2004), building a node waits up to 60 s for the stopped node's VSS writes still in flight, then fails with KvStoreSetupFailed.

restartWithElectrumServer and restartWithRgsServer treat that failure like any other on their first start: the change fails, the new server is not saved, and the node falls back to the previous config. Only that fallback retries a busy store. So a valid Electrum or RGS server is rejected because the old node's writes are slow, which has nothing to do with the server.

Expected: when the change's own build fails with KvStoreSetupFailed, retry it the same bounded, stop-aware way as the fallback (up to 5 attempts, never past a requested stop) before falling back.

Twin: synonymdev/bitkit-ios#1521, raised in synonymdev/bitkit-ios#1521 (comment).

Activity

  1. added this to the 3.2.0 milestone on Nov 27, 2026
  2. self-assigned this
    on Nov 27, 2026
  3. added theissue type on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions