Skip to content

Conversation

@Lagrang3
Copy link
Collaborator

A follow up from the issue #8663:
with this PR I am adding a regression test for reservation leaks in askrene, log messages for failed attempts to remove
internal reservations in the "refinement" phase of getroutes and a developer option dev_remove_all to askrene-unreserve
to remove all reservations to be used in the case of future leaks as an alternative to restarting the node.
@vincenzopalazzo

Log when a reservation removal failures during getroutes computation.
Failed reservation removals can lead to reservation leaks.

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
Changelog-None.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
Changelog-Added: askrene: add a developer option to askrene-unreserve to remove all reservations.

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
@Lagrang3 Lagrang3 requested a review from cdecker as a code owner November 11, 2025 15:09
@Lagrang3 Lagrang3 changed the title Reservation leak tests and mitigation Reservation leak test and mitigation Nov 11, 2025
@cdecker
Copy link
Member

cdecker commented Nov 11, 2025

Looking good but requires reading on top of master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants