Skip to content

Conversation

@rustyrussell
Copy link
Contributor

@rustyrussell rustyrussell commented Oct 31, 2025

For example, autoclean-once failedforwards would count every non-failed forwards as "uncleaned".

This is both technically correct and completely useless.

Fixes: #8632
Reported-by: @grubles and several other sharp-eyed users.

From the documentation:

"NOTE: until v25.12, the uncleaned field contained all entries not removed (e.g. in failedforwards it counted all forwards, not just failed ones). This was an interface only an engineer could love, so it was fixed."

…idate.

For example, `autoclean-once failedforwards` would count every non-failed forwards
as "uncleaned".

This is both technically correct and completely useless.

Changelog-Fixed: JSON-RPC: `autoclean-once` returns "uncleaned" number reflecting number of candidates which were too new to be cleaned, not all records we didn't delete.
Fixes: ElementsProject#8632
Reported-by: @grubles and several other sharp-eyed users.
Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell force-pushed the autoclean-fix-uncleaned branch from e24ec30 to 7ef9885 Compare November 13, 2025 01:50
@rustyrussell rustyrussell enabled auto-merge (rebase) November 13, 2025 01:50
@rustyrussell rustyrussell merged commit 41e21d1 into ElementsProject:master Nov 13, 2025
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

autoclean-once doesn't clean?

2 participants