-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
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
Suppress RPC Error disconnect log #5802
Suppress RPC Error disconnect log #5802
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @AgeManning thoughts?
Wrong Age 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 7073242 |
Issue Addressed
Debugging das interop, noticed a noisy debug log:
This log is emitted from the peermanager, and is a consequence of allowing RPCError for disconnected peers through. If a peer disconnects and has 100 active ReqResp request, the log will appear 100 times.
Proposed Changes
If we allow to propagate the RPCError to the application, do not log it in the peer manager