Correct suspended_channel and suspended_service message text. - #6
Open
echennells wants to merge 1 commit into
Open
Correct suspended_channel and suspended_service message text.#6echennells wants to merge 1 commit into
echennells wants to merge 1 commit into
Conversation
Both codes were added with the message text of sacrificed_channel, so suspended_channel and sacrificed_channel render identically and cannot be told apart in a log. sacrificed_channel is emitted continuously by block download work redistribution, while suspended_channel indicates network suspension for a store prune or snapshot, so the latter is not observable. The unit tests asserted the incorrect text, so they are updated. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
echennells
force-pushed
the
fix-suspended-error-messages
branch
from
August 24, 2026 16:31
1f1395d to
96f9378
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
suspended_channelandsuspended_servicewere introduced carrying the message text ofsacrificed_channel(4af898f58, 2024-05-06 and6c465034b, 2024-05-08).suspended_channeltherefore renders identically tosacrificed_channel, though the two are unrelated.sacrificed_channelis emitted continuously by block download work redistribution — measured at roughly 9k occurrences per peer per day during a testnet3 IBD.suspended_channelindicates the node suspended the network for a store prune or snapshot. The rare event is not distinguishable from routine churn in a log.suspended_servicerenders as "sacrificed service", which corresponds to no error code.The unit tests asserted the incorrect text, so they are updated alongside the messages. That is likely why this went unnoticed: correcting
src/error.cppalone fails the suite.