Skip to content

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Jan 6, 2026

We stop storing every ChannelErrorOccured event in the AuditDb. This is very spammy because there are a lot of non-fatal events, and they turned out to be unnecessary for auditing (they make more sense in the logs for debugging).

Such events include for example notifying that we tried to relay a payment to a channel that didn't have enough balance, or commands sent to channels that are offline, closing or reconnecting.

Note that we stop creating the corresponding table, but we don't delete old data: it is up to node operators to decide whether they want to keep it or not. We still support migrating older databases including data from this table.

We also remove tests from very old migrations (more than 2 years old) which are spammy but not very interesting anymore.

We stop storing every `ChannelErrorOccured` event in the `AuditDb`.
This is very spammy because there are a lot of non-fatal events,
and they turned out to be unnecessary for auditing (they make more
sense in the logs for debugging).

Such events include for example notifying that we tried to relay a
payment to a channel that didn't have enough balance, or commands
sent to channels that are offline, closing or reconnecting.

Note that we stop creating the corresponding table, but we don't
delete old data: it is up to node operators to decide whether they
want to keep it or not. We still support migrating older databases
including data from this table.

We also remove tests from very old migrations (more than 2 years old)
which are spammy but not very interesting anymore.
@t-bast t-bast requested a review from pm47 January 6, 2026 13:33
@t-bast t-bast merged commit 7137eac into master Jan 6, 2026
1 of 3 checks passed
@t-bast t-bast deleted the audit-db-no-channel-errors branch January 6, 2026 16:14
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.

3 participants