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."

@rustyrussell rustyrussell added this to the v25.12 milestone Oct 31, 2025
@rustyrussell rustyrussell requested a review from cdecker as a code owner October 31, 2025 03:50
…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 <rusty@rustcorp.com.au>
@rustyrussell rustyrussell force-pushed the autoclean-fix-uncleaned branch from f50c9b9 to e24ec30 Compare November 3, 2025 02:57
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.

autoclean-once doesn't clean?

1 participant