Skip to content

Conversation

@AgeManning
Copy link
Member

There is some very reasonable confusion around some of the lighthouse logs around our peer scoring.

The main reason for this confusion is that there are two peer states with the same name. A connection state: disconnected and a score state: disconnected.

This PR renames the score state to: ForcedDisconnect to remove this confusion and improves the logging around these states.

@AgeManning AgeManning added ready-for-merge This PR is ready to merge. v5.1.0 Q2 2024 labels Feb 28, 2024
@AgeManning AgeManning added ready-for-review The code is ready for review and removed ready-for-merge This PR is ready to merge. labels Feb 28, 2024
Copy link
Collaborator

@dapplion dapplion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on the new name

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jxs
Copy link
Member

jxs commented Mar 4, 2024

@Mergifyio queue

@mergify
Copy link

mergify bot commented Mar 4, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at f919f82

mergify bot added a commit that referenced this pull request Mar 4, 2024
@mergify mergify bot merged commit f919f82 into sigp:unstable Mar 4, 2024
pawanjay176 pushed a commit to pawanjay176/lighthouse that referenced this pull request Mar 5, 2024
* Improve logging around score states

* Improve logs also
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review The code is ready for review v5.1.0 Q2 2024

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants