+
Skip to content

Conversation

GheisMohammadi
Copy link
Collaborator

@GheisMohammadi GheisMohammadi commented Apr 28, 2025

This PR improves logging and observability by adding reason strings whenever a stream is removed. It covers the P2P layer, the sync downloader, and staged stream sync. Each stream removal now clearly logs why it happened, such as invalid blocks, connectivity issues, or missing responses.

Previously, it was hard to trace the cause of stream closures, which made investigations slower. With this change, we can quickly identify issues in the logs and improve troubleshooting for sync and networking problems.

@Frozen Frozen merged commit 61816f7 into dev May 5, 2025
3 checks passed
GheisMohammadi added a commit that referenced this pull request Jun 4, 2025
* add reason for stream removals in p2p layer

* add stream removals reason for sync downloader

* add reason for stream removals in staged stream sync
GheisMohammadi added a commit that referenced this pull request Jun 4, 2025
* add reason for stream removals in p2p layer

* add stream removals reason for sync downloader

* add reason for stream removals in staged stream sync
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载