File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 369369 ` native-sql ` setting enabled.
370370
371371
372+ * [ Channel close is now split into two phases to avoid long write-lock
373+ hold times on the KV-over-SQL
374+ backends] ( https://github.com/lightningnetwork/lnd/pull/10732 ) . Phase 1
375+ atomically removes the channel from all open-channel views in a small
376+ O(1) transaction. Phase 2 deletes the bulk historical data (revocation
377+ log entries, forwarding packages) in small batches of
378+ ` DefaultPurgeBatchSize ` (500) entries per transaction, keeping each
379+ write-lock window short. Pending Phase 2 cleanups are persisted and
380+ automatically resumed on node restart, so no data is left dangling
381+ after an interrupted shutdown.
382+
372383## Code Health
373384
374385* [ Update taproot detection] ( https://github.com/lightningnetwork/lnd/pull/10683 )
You can’t perform that action at this time.
0 commit comments