We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When closed channels with lots of updates are being forgotten, the CLN RPC freezes until the deletion is done.
From @rustyrussell:
I strongly suspect it's this: stmt = db_prepare_v2(w->db, SQL("DELETE FROM channel_htlcs " "WHERE channel_id=?"));
This is because there's no index for that exact thing, so this causes a sweep of the entire table. Fix is obvious: add another index...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When closed channels with lots of updates are being forgotten, the CLN RPC freezes until the deletion is done.
From @rustyrussell:
The text was updated successfully, but these errors were encountered: